Download AntiLog RS232 Data Logging System User Guide

Transcript
: :
*[5] 'Off' button performs no function
[6] 'Off' button sends event to log file on this channel
[B] 'Off' button sends digital bit state to log file on this channel
<7> 'Off' button transmits user command
--- Transmit 'Off' user command to channel serial port (M:4800,8,N,1,-)
--- Transmit 'Off' user command to other serial port
(S:4800,8,N,1,-)
[G] Go to the other channel
<Esc>
?
Select the [0] item to ensure the 'On' button performs no function during record, similarly,
select the [5] item to ensure the 'Off'' button performs no function (other than to terminate a
logging session and turn the unit off as normal).
11.9.1 Logging Button Events
If the [1] or [6] items are enabled, then the assigned button push insert an event into the
logged data stream during record mode for the selected channel. An event is packed into an
ASCII string which looks like a NMEA sentence. The format of an event written to the flash
store is as follows:$EVENT,button,number,f,date,time*csum<CR><LF>
Where:
button = Button type, either ON or OFF
number = Sequential button event number.
f = Date and Time flag. 'V' for Valid date and time, 'R' for relative date and time.
date = Date string. Format defined in time options in the General menu.
time = Time string as HH:MM:SS.sss
csum = NMEA compatible EXOR checksum
The button field will be either ON or OFF depending on which button was pressed. The
number is a sequence number which increments from zero every time a button is pushed.
There are two button counters maintained inside AntiLog, one for 'On' button pushes and one
for 'Off' button pushes. Therefore pushing the 'On' button will not effect the sequence number
for the 'Off' button. An example showing the fourth time the 'On' button has been pushed is
shown here:$EVENT,ON,3,V,03-Jun-2004,12:34:56.352*4D<CR><LF>
11.9.2 Logging Digital Bit State on a button push
If the [A] or [B] items are enabled, then the current state of selected digital I/O lines is
written to the log file as an inserted event when the appropriate button is pressed. See section
5.8 for more details on digital bit state logging.
11.9.3 Sending User Commands on a button push
Select item <2> or <7> to attach user commands to the 'On' and 'Off' buttons respectively for
transmission during record. When configured, every time you push a button in record mode,
the connected user command is transmitted at the user equipment. This is useful if you need to
send initialisation commands to your equipment or mode the equipment mid way through a
trial. You could even attach 'power up' and 'power down' type commands to the AntiLog 'On'
and 'Off' buttons to control the user equipment power during record.
DOC/AntiLog/UG/2003001_4.0e
Page 43 of 71