Retrieving Log Data From The Analyzer - In-situ ChemScan mini UV254 Installation, Operation And Maintenance Manual

Table of Contents

Advertisement

Retrieving Log Data from the Analyzer *

The analyzer stores approximately 5,000 log entries. Log entries are made up of events (online,
offline, zeroing operations, data readings, etc.), which are time-stamped and stored in non-volatile memory.
Memory retention time without power applied is approximately 100 years. Log entries
may be read using the analyzer's serial channel.
Communications settings:
9600 baud
8 bit data
2 stop bits
No parity
No handshaking
Procedure for using a computer running a terminal emulator program
(HyperTerminal, PCPlus, etc.):
Connect a straight through (no crossover) DB9 - to – DB9 serial cable between the computer and
the female DB9 connector located in the center of the analyzer's circuit board (found behind the
control panel).
Open a serial channel, with the above settings.
The Following Detailed Description Applies to "HyperTerminal" Found in Most Windows
Operating Systems:
Click on "Start", "Programs", "Accessories", "Communication" and "HyperTerminal".
A "Connection Description" dialog box will open. Enter a file name, naming it as you wish, where
you wish, on the computer. (For this example "ChemScan" is the file name.) A "ChemScan –
HyperTerminal" communication box will open with the file name you specified.
When the "Connect To" dialog box appears select "COM 1" (or other suitable COM channel)
under the "Connect Using" heading and select "OK". There is no need to specify
"Country/Region, Area Code, or Phone Number" information.
A "Com 1 Properties" box will open. Specify "Port Settings" as indicated above, (Bits Per
Second: 9600, Data Bits: 8, Parity: None, Stop Bits: 2, Flow Control: None), then select "OK".
The cursor prompt should appear inside the "ChemScan – HyperTerminal" box.
This concludes the detailed description relevant to the Windows OS HyperTerminal Software.
The following text is also relevant for other terminal emulator programs.
On the computer keyboard, enter the command to initiate download: GETLOG.
The command should echo to the computer's display. If you cannot see what you type, there is a
problem with the serial channel or the cable.
After you press the ENTER key, the instrument will send its internal log. When the data transfer is
finished, close the file you opened, and terminate the terminal emulator.
15,000 entries is perhaps too much information. You can limit the amount reported to any value
you wish. For example, to receive the last 100 entries, type GETLOG 100.
Perhaps you wish to put the log data into a spreadsheet. In that case, the non-reading events
such as power up, cleaning, etc., would need to be removed. To eliminate the need to remove the
non-reading events manually you can tell the analyzer to report only readings by typing GETLOG
READINGS 500. This will return the last 500 stored readings without operational information.
Or if you want to see what's been happening with the operation, type GETLOG EVENTS 100 to
get the last 100 events without any reading data. If you want all the data included, you can type
GETLOG ALL 1000 to get all of the last 1000 log entries.
When the internal log reaches the end of its storage space it begins overwriting the earliest data,
so there is no need to manually erase the log file. Should you wish to do so, however, use the
command RESET LOG.
GETLOG [ ALL] [value]
[READINGS][value]
[EVENTS][value]
RESET LOG
(alternative, simplified procedure follows on page 26)
19

Advertisement

Table of Contents
loading

Table of Contents