SpaceLogger
®
.S10
User Manual
©2012-13 Richard Paul Russell Limited, New Harbour Building, Bath Road, Lymington SO41 3SE United Kingdom
Tel +44 (0) 1590 679755 Fax +44 (0) 1590 688577 e-mail [email protected] web www.r-p-r.co.uk
- 12 -
017SL167/3 04/09/13
5.6
To Add a Line Break after Each Data Set
If required for formatting the logged data, a line break may be added at the end of each recorded
data set (one or two data samples) by using the following SETUP.TXT command line:
NEWLINE=l
Where l = Y or N
If l =
Y
, at the end of the data sample(s) the characters <CR><LF> are
appended so that the next data set is recorded on a new line.
If l =
N
, no additional <CR><LF> is added
If two data samples are enabled via command SENTENCE2 and a timeout occurs before the
second sample is received, the first data sample is recorded and a <CR><LF> appended if
NEWLINE=Y.
5.7
To Set a Timeout
By default, when the SpaceLogger.S10 is set to sample data, it will expect to receive the
appropriate STX, EXT, STX2 and ETX2 in that order. It will not be able to advance to monitor
for the next data sample until each of the first set of identifiers have been detected and logged.
In applications where one of ETX, STX2 or ETX2 may be missed, it may be desirable to set a
timeout so that the SpaceLogger will move on to monitor for a new sample’s STX. The duration
of this timer may be set using the following SETUP.TXT command line:
TIMEOUT=m
Where m is the time in seconds after detecting the STX, ETX or STX2 condition, as
an integer.
Note:
r = 0 to 255
r should be set to a value greater than the normal time taken to transmit a data
sample defined by STX and ETX or STX2 and ETX2
If r = 0, no timeout will occur.
The timer is cleared each time the next ETX etc is detected
Should the timeout condition be exceeded, the SpaceLogger will record any data received for the
current sample to the SD card with the date & timestamp (if enabled).
While the logger is in timeout mode the red LED will be continuously on until either the second
data sample STX2 is received or the timeout limit is reached. This means that it is possible to tell
whether the logger is next expecting either the first data sample (red LED off) or second data
sample (red LED on).