5-15-2005

CWC Datalogger Support Utilities

To use these utilities, copy this entire folder and its subfolders 
intact onto your c: drive (you can place in another location, but
will need to alter the .bat files if you do).

The utilities in this folder require Java. This folder contains
a Java Virtual Machine that has been configured with the COMMAPI
interface, which allows Jaa to access your computer's serial port,
which is required by two of the utilities (JavaKit and ListOW).

The .bat scripts provided here all that JVM.

Utilities:

----------------------------------------------------------------

 logrcfg

A logger configuration utility useful for a variety of purposes,
including finding loggers on a network and setting and changing
their configuration.

NOTE: Some antivirus software will detect the UDP activity of this
application and ask if you want to allow it. Please answer "yes".

-----------------------------------------------------------------

findloggers:

This utility works on firmware 0.86 and above.

 findloggers

Returns list of all of the loggers on the LAN. May have to
try it a couple of times, due to the fact that it is based on
UDP, a protocol without error checking.

 findloggers <MAC>

Returns logger config for this logger. Also, on 0.93 and later,
returns status queue.

------------------------------------------------------------------

 javakit - brings up the JavaKit utility.

The DalSemi utility for loading firmware into a TINI board.

 javakithelp 

prints out javakit help message

------------------------------------------------------------------

 ListOW

Assuming a 1-wire adapter (DS9097U) is plugged into your PC,
list all of the 1-wire devices that are plugged into it. Useful for
diagnosing problems on a 1-wire network.

------------------------------------------------------------------

Built in HTTP server

Loggers from r0_84 on have a built in http server. It can be accessed
from a computer on the same LAN as the logger. Use any browser.

------------------------------------------------------------------

Other debug utilities:

------------------------------------------------------------------

In a standard web browser, given a datalogger's IP address, obtainable
using "findloggers" or "logrcfg".

http://<logger_ip_addr>/0 (or 1, 2, 3, 4, 5, 6)

/** Implements an HTTP server to tun on TINI, and
 * aid in debug and configuration.
 *
 * 0 - return config XML (Logger AND Device)
 * 1 - (same)
 * 2 - return data queue status XML
 * 3 - return data queue XML (WARNING, can be big!)
 * 4 - return status queue status XML
 * 5 - return status queue XML (WARNING, can be big!)
 * 6 - network parameters as XML (older versions of firmware...
 *			  newer versions have it in the config XML)
 */

------------------------------------------------------------------

 telnet <logger_ip_addr> 58324

View the logger's console output for debugging.

"q" to quit.

------------------------------------------------------------------