Richard Paul Russell SpaceLogger.S10 User manual

©2012-13 Richard Paul Russell Limited, New Harbour Building, Bath Road, Lymington SO41 3SE United Kingdom
017SL167/3 04/09/13
SpaceLogger®.S10
User Manual
For the latest information and support please go to our website www.spacelogger.com

SpaceLogger®.S10
User Manual
©2012-13 Richard Paul Russell Limited, New Harbour Building, Bath Road, Lymington SO41 3SE United Kingdom
- 1 - 017SL167/3 04/09/13
1INTRODUCTION .......................................................................................................................................................................2
2QUICK START: EASY STEPS TO DATA LOGGING ...............................................................................................................3
3EXAMPLE APPLICATION .........................................................................................................................................................3
4CONNECTING ...........................................................................................................................................................................4
4.1 Terminal Strip Arrangement.................................................................................................................................................4
4.2 Generic Terminal Allocations...............................................................................................................................................4
4.3 RS232 Interface....................................................................................................................................................................5
4.4 Switch inputs ........................................................................................................................................................................5
4.5 Cable Preparation..................................................................................................................................................................6
4.6 Power Supply........................................................................................................................................................................6
5SETUP FEATURES ...................................................................................................................................................................7
5.1 Setting the time & date .........................................................................................................................................................8
5.2 To Define the Data Sample(s) to be Recorded......................................................................................................................9
5.3 To Enable Recording of Second Data Sample....................................................................................................................10
5.4 To Select whether the STX and ETX Identifiers are Logged..............................................................................................11
5.5 To Add Separator between First & Second Data Samples..................................................................................................11
5.6 To Add a Line Break after Each Data Set...........................................................................................................................12
5.7 To Set a Timeout ................................................................................................................................................................12
5.8 To Enable Logging from the Second RS232 Input.............................................................................................................13
5.9 To Set the Baud Rate..........................................................................................................................................................13
5.10 To Select a Logging Interval...............................................................................................................................................14
5.11 To Record Data to a Single Log File ..................................................................................................................................14
5.12 To Customise File Names...................................................................................................................................................15
5.13 To Disable the Time-Stamp................................................................................................................................................16
5.14 To Record all Data (Disable Sampling)..............................................................................................................................16
5.15 To Output RS232 Data from the SpaceLogger.S10............................................................................................................17
5.16 To Enable a Handshake Response......................................................................................................................................17
5.17 To Record Unprintable ASCII Characters..........................................................................................................................19
5.18 To Record the Status of the Digital Input Channels............................................................................................................19
5.19 To Output a File’s Content to RS232 Output on Card Initialisation ...................................................................................20
5.20 Logic Inversion of the Received Signal..............................................................................................................................20
5.21 Resetting the SpaceLogger.S10 to Default Settings............................................................................................................21
5.22 SETUP.TXT file.................................................................................................................................................................22
5.23 Notes on saving file SETUP.TXT ......................................................................................................................................23
6LOGGING.................................................................................................................................................................................24
6.1 SD Card..............................................................................................................................................................................24
6.2 Data Transfer......................................................................................................................................................................25
7SPACELOGGER.S10 SPECIFICATION ..................................................................................................................................26
APPENDICES .....................................................................................................................................................................................28
A1 SETUP.TXT Commands ....................................................................................................................................................28
A2 ASCII –American Standard Code for Information Interchange.........................................................................................30
A3 Guarantee............................................................................................................................................................................31
A4 Electromagnetic Conformity...............................................................................................................................................32
A5 WEEE (Waste, Electrical and Electronic Equipment) Statement .......................................................................................33
A6 RoHS Statement .................................................................................................................................................................33

SpaceLogger®.S10
User Manual
©2012-13 Richard Paul Russell Limited, New Harbour Building, Bath Road, Lymington SO41 3SE United Kingdom
- 2 - 017SL167/3 04/09/13
1INTRODUCTION
The SpaceLogger®.S10 is designed as a stand-alone data logger for serial data logging from a wide
range of devices and sensors with RS232 output.
SpaceLogger.S10 records samples of data from up to two RS232 data sources.
Each data record is date & time-stamped. A new file (default format is .CSV) is generated for
each day’s worth of data.
Data is stored onto an SD card. SD cards with up to 2 GByte capacity are compatible with
SpaceLogger. Higher capacity cards are not compatible. SpaceLogger will also accept other
compatible data storage cards, such as MMC and MMC mobile.
The SD card can be removed from the logger and inserted into a card reader connected to a PC.
Stored data files are accessed in the same way as files on the computer's other disk drives. The
text files may be read and manipulated in any standard Office applications (e.g. Notepad or MS
Excel).
The SpaceLogger.S10 will also output RS232 data to another device. Refer to section 5.15 for
details.
The logger requires a 7 - 30 volt DC supply which can be provided by an AC/DC mains adaptor or
suitable battery.
Document revision summary
Issue
Date
Description
1
Feb 2012
Original document
2
Aug 2013
Firmware version 2v2h. Second RS232 input implemented. Second
data sample added. Single log file option added. Handshake with
response function added. Improved definitions for STX and ETX
including extended strings and logging controls. Logic inversion of
RS232 input enabled.
3
Sept 2013
Firmware version 2v2j. Timeout LED indication added. Option to
include comma separator between 2 RS232 samples added.
Our products are in continuous development and therefore specifications may be subject to change
and design improvements may be implemented without prior notice. Please visit our web site
www.r-p-r.co.uk for the most up to date information on our products.

SpaceLogger®.S10
User Manual
©2012-13 Richard Paul Russell Limited, New Harbour Building, Bath Road, Lymington SO41 3SE United Kingdom
- 3 - 017SL167/3 04/09/13
2QUICK START: EASY STEPS TO DATA LOGGING
…….
Connect RS232 inputs
see section 4
…….
Set up logging preferences with SETUP.TXT file
see section 5
…….
Power on
see section 4.6
…….
Set time and date
see section 5.1
…….
Insert SD card
see section 6.1
…….
Start recording data
see section 6.2
…….
…….
Stop recording data (press purge button)
see section 6.2
…….
Remove card and transfer to PC to view and analyse data
see section 6.2
3EXAMPLE APPLICATION
Figure 1
Manual transfer
of SD card to
PC card reader
SpaceLogger.S10
SD card
Sensor 1
Switch
(optional)
RS232 data
Sensor 2
RS232 data

SpaceLogger®.S10
User Manual
©2012-13 Richard Paul Russell Limited, New Harbour Building, Bath Road, Lymington SO41 3SE United Kingdom
- 4 - 017SL167/3 04/09/13
4CONNECTING
4.1 Terminal Strip Arrangement
POWER
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Figure 2
4.2 Generic Terminal Allocations
SpaceLogger
Terminal
Signal description
Use
1
Power GND
Power
2
Supply +V (+7 to 30V dc)
3
GND
RS232 signal input/output ground
4
N/A
Reserved for future options
5
GND
RS232 signal input/output ground
6
N/A
Reserved for future options
7
Switch GND 1
Switch to ground
(see section 5.18)
8
Switch input 1
9
Switch GND 2
Switch to ground
(see section 5.18)
10
Switch input 2
11
GND
RS232 signal input/output ground
12
RS232 output 2
Secondary RS232 signal output
(see section 5.16)
13
RS232 input 2
Secondary RS232 signal input
(see section 5.6)
14
RS232 output 1
RS232 signal output
(see section 5.15)
15
RS232 input 1
Primary RS232 signal input from
device/sensor
16
RS232 GND 1
Table 1

SpaceLogger®.S10
User Manual
©2012-13 Richard Paul Russell Limited, New Harbour Building, Bath Road, Lymington SO41 3SE United Kingdom
- 5 - 017SL167/3 04/09/13
4.3 RS232 Interface
Connection to the RS232 serial data source(s) should be made as per Table 1. This table should be
read in conjunction with Figure 2. Wires should be prepared as per section 4.5.
When just one RS232 source is connected, the Primary RS232 input 1 should be used.
The Secondary RS232 input 2 is limited to 4800 baud rate. Details on how to enable the
secondary input via the RX2 command are given in section 5.6.
4.4 Switch inputs
The status of two switches connected between terminals 7 and 8 and terminals 9 and 10 can be
added to the logged data. Details of how this is activated are given in the SWITCH command
section 5.18.
Figure 3 shows the input circuit for one of the switch inputs.
Figure 3
Note if it is required to drive a switch input directly from the user’s circuit the input
signal must not exceed 3 volts.
SWITCH
3V
R2
R1
R3
C1
GND
PROCESSOR
SpaceLogger.S10

SpaceLogger®.S10
User Manual
©2012-13 Richard Paul Russell Limited, New Harbour Building, Bath Road, Lymington SO41 3SE United Kingdom
- 6 - 017SL167/3 04/09/13
4.5 Cable Preparation
The logger uses screwless terminals and to ease connection, wires should be prepared as per
Figure 4. It is important that the stripped ends be accurately 9 to 10mm long to ensure good
connections in the terminals.
Figure 4
Either solid or stranded cable is acceptable, in the range 0.32 to 0.65 mm diameter (AWG 28 to 22)
with gauge 24 being ideal.
Using a small flat headed screw-driver fully depress the grey plunger for the required terminal and
insert the wire as far as it will go, into the hole below the plunger. Release the grey plunger and
the wire is held captive by the connector. A gentle tug on the wire will confirm that it is held
firmly.
If the wire in question is multi-strand, ensure that all strands are inserted in the terminal hole.
Please note that interconnection of all components should be completed prior to applying power.
4.6 Power Supply
When the logger is powered using a 7 to 30 V DC supply the central pin on the power socket
should be to GND.
Alternatively, power may be supplied via terminals 1 (black) and 2 (red) on the screwless terminal
connector strip, as per Table 1. Note that if power is supplied via the supply socket then terminal
2 (red) is automatically disconnected.
Warning: All GNDs are common and so damage to the logger may result if they
are connected to different voltages.
9 to 10mm
Tinned end

SpaceLogger®.S10
User Manual
©2012-13 Richard Paul Russell Limited, New Harbour Building, Bath Road, Lymington SO41 3SE United Kingdom
- 7 - 017SL167/3 04/09/13
5SETUP FEATURES
The SpaceLogger.S10 settings are customisable using a configuration file named SETUP.TXT
written to the SD card.
The following parameters may be modified using defined commands:
Setting the time & date
See section 5.1
Start and end character strings to define each data sample
See section 5.2
Logging of a second data sample
See section 5.3
Selective logging of the sample start and end identifiers
See section 5.4
Addition of separator between first & second data samples
See section 5.5
Line breaks after data samples
See section 5.6
Timeout when waiting for second data sample
See section 5.7
Logging of data from second RS232 input
See section 5.8
Baud rate of RS232 input/output
See section 5.9
Logging interval/sample rate
See section 5.10
Recording to single log file
See section 5.11
File name format for the recorded data
See section 5.12
Time-stamping
See section 5.13
Data sampling
See section 5.14
RS232 data output
See section 5.15
Handshake & response between devices
See section 5.16
Handling of unprintable characters
See section 5.17
Logging of switch status on Digital I/O channels
See section 5.18
Output of a file’s content on start-up
See section 5.19
Logic inversion of the input signal
See section 5.20
Resetting SpaceLogger to defaults
See section 5.21
Refer to the sections below for command details and section 5.22 for how to create the
SETUP.TXT file.
Please refer to Appendix A1 for full list of commands and the valid inputs for their values and the
default settings.

SpaceLogger®.S10
User Manual
©2012-13 Richard Paul Russell Limited, New Harbour Building, Bath Road, Lymington SO41 3SE United Kingdom
- 8 - 017SL167/3 04/09/13
5.1 Setting the time & date
To set the time and date for correct stamping of the data records, a file named SETUP.TXT must
be created on the SD card. This file is read by the SpaceLogger when the card is inserted into the
logger and the clock synchronised to the given time when the button to the left of the card slot is
pressed.
Steps to set the time and date:
1. Insert SD card into card reader attached to USB port of PC (or use integrated card reader if
the PC has one).
2. Open notepad or similar text editor and type the following three lines:
WAIT
TIME=hh:mm:ss
DATE=DD/MM/YYYY
Where hh:mm:ss is the time in, say, a couple of minutes and DD/MM/YYYY is
today’s date.
3. Save this text file as SETUP.TXT on the SD card in the root folder. (Note: if folder
DATA already exists on the card, ensure the file SETUP.TXT is not in this folder but at the
top level in the root directory). If using Windows and Vista, please refer to section below.
4. Remove card from card reader and, with the power on, insert the card into the SpaceLogger.
Both the red and green LEDs will come on.
5. At the time saved in the SETUP.TXT file, press the button to the left of the card slot. The
SpaceLogger will ‘Beep’ once and both LED’s switch off. Release the button. The red
LED may flicker on and off after this and once the card has completed its initialisation the
green LED will come back on and remain on.
6. After updating the time and date, the SpaceLogger renames the file SETUP.TXT to
SETUPOLD.TXT to avoid unintentionally repeating the commands next time the unit is
switched on or the card re-inserted.
The SpaceLogger has an internal battery to maintain the time and date when the power to the unit
is switched off. When it is necessary to reset the time and date, please repeat the steps outlined
above.
If no time and date is set up on the SpaceLogger, the unit will emit a warning ‘Beep’ four times a
minute as a reminder.

SpaceLogger®.S10
User Manual
©2012-13 Richard Paul Russell Limited, New Harbour Building, Bath Road, Lymington SO41 3SE United Kingdom
- 9 - 017SL167/3 04/09/13
5.2 To Define the Data Sample(s) to be Recorded
The SpaceLogger.S10 is capable of being used with any sensors that output their information in
ASCII sentences. The format of the data must be 8 bits and no parity. It is also a requirement that
each data record has identifying start and end characters to define the data sequence to be sampled.
Up to two different data samples may be defined. By default just one sample is recorded, defined
by STX (start) and ETX (end) identifiers.
The start and end identifiers may be defined in one of two ways; either a single ASCII character
specified by its decimal value (0-255) or by a string of up to 31 characters contained by quote
marks.
The SpaceLogger.S10’s default start character is <STX> (2) and end character is <LF> (10).
The SpaceLogger.S10 may be set to recognise any other start and end characters using the
following SETUP.TXT command lines:
STX=x or STX=“cc…”
ETX=x or ETX=“cc…”
Where:
ox is the decimal value (0-255) of the ASCII character that indicates the start (STX)
or end (ETX) of the data string that is to be stored. Default value for STX is 2.
Default value for ETX is 10. *
occ… is a string of up to 31 ASCII characters
Note:
The string is case sensitive.
Question marks (?) may be used to denote any character i.e. as wildcards.
The following escape codes may be included in the STX and ETX strings:
\n = 0x0A LF
\r = 0x0D CR
\" = 0x22 "
\' = 0x27 '
\\ = 0x5C \
\1 = 0x01 SOH
\2 = 0x02 STX
\3 = 0x03 ETX
\4 = 0x04 EOT
\5 = 0x05 ENQ
\6 = 0x06 ACK
\7 = 0x07 BEL
\a = 0x07 BEL
\b = 0x08 BS
\f = 0x0C FF
\t = 0x09 HT
\v = 0x0B VT
* For table of ASCII characters and their decimal values, refer to the Appendix A2.

SpaceLogger®.S10
User Manual
©2012-13 Richard Paul Russell Limited, New Harbour Building, Bath Road, Lymington SO41 3SE United Kingdom
- 10 - 017SL167/3 04/09/13
By default, the start character or string of characters (STX) is not recorded with the data sample.
To change this setting, please refer to section 5.4.
Example:
If the logger was required to record the position from a GPS every 10 seconds, the following could
be specified to record every 10th RMC sentence of an NMEA data stream:
STX=“$??RMC,?????0”
5.3 To Enable Recording of Second Data Sample
A second data sample may be defined exactly as above but using commands STX2 and ETX2.
The default values are as per the primary STX and ETX commands; start character (STX2) is
<STX> (2) and end character (ETX2) is <LF> (10).
The recording of this second data sample may be enabled by using the following SETUP.TXT
command line:
SENTENCE2=s
Where s = Y or N
If s =Y, after detection of the primary data sample (defined by STX and ETX)
the logger will expect the sample defined by STX2 and ETX2
If s =N, the logger will not record the sample defined by STX2 and ETX2
This second data sample (defined by STX2 and ETX2) will be appended to the first sample
(defined by STX and ETX), rather than being independently time & date stamped.
The SpaceLogger.S10 will only monitor for this second data sample once the first data sample has
been detected.
When only one RS232 input is connected, the SpaceLogger.S10 will look for both data samples in
the data stream received on the RS232 Input 1.
When both RS232 inputs are connected, the SpaceLogger.S10 will expect the second sample to be
within the data received on RS232 Input 2. For details on how to enable RS232 Input 2, please
refer to command RX2 in section 5.6.
The data samples may be comma separated via command SEPARATOR –please refer to section
5.5.
After the first data sample is received, a timer may be enabled with a timeout (in seconds) in the
event that the second data sample is not output. This timeout enables the logger to reset to wait for
a new first data sample again. Please refer to section 5.7.

SpaceLogger®.S10
User Manual
©2012-13 Richard Paul Russell Limited, New Harbour Building, Bath Road, Lymington SO41 3SE United Kingdom
- 11 - 017SL167/3 04/09/13
5.4 To Select whether the STX and ETX Identifiers are Logged
By default the character(s) in the incoming data stream defined by STX and STX2 are not
recorded with the data sample(s). By default the ETX and ETX2 identifiers will be recorded.
It is possible to change these settings with the following SETUP.TXT command lines:
LOGSTX=g
LOGETX=g
LOGSTX2=g
LOGETX2=g
Where g = Y or N
For example:
If LOGSTX=Y, the characters included in the STX identifier are included in
the recorded data sample
If LOGSTX=N, the characters included in the STX identifier are excluded
from the recorded data sample
5.5 To Add Separator between First & Second Data Samples
By default the second data sample will be recorded immediately following the first sample.
Depending on the format of the data, it may be beneficial to add a comma (,) as a separator
between the two data samples to improve processing via a spread sheet etc. This is enabled with
the following SETUP.TXT command line:
SEPARATOR=p
Where p = Y or N
If p = Y, the logger will add a comma (ASCII character 2C (44)) after the
first data sample.
If p= N, the logger will not add a separating character

SpaceLogger®.S10
User Manual
©2012-13 Richard Paul Russell Limited, New Harbour Building, Bath Road, Lymington SO41 3SE United Kingdom
- 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).

SpaceLogger®.S10
User Manual
©2012-13 Richard Paul Russell Limited, New Harbour Building, Bath Road, Lymington SO41 3SE United Kingdom
- 13 - 017SL167/3 04/09/13
5.8 To Enable Logging from the Second RS232 Input
By default only one RS232 input (RS232 Input 1) is enabled.
Data received on the second RS232 input (RS232 Input 2) may also be logged and/or used for
handshake purposes. This is enabled by using the following SETUP.TXT command line:
RX2=x
Where x = Y or N
If x =Y, the logger will monitor RS232 Input 2 for STX2 and ETX2
identifiers and will record all data received if set to LOG_ALL=Y mode.
If x = N, the logger will not monitor RS232 Input 2
The wiring connections for RS232 Input 2 are as described in Section 4.2 –signal to terminal 13
(grey) RS232 Input 1 and ground to any GND terminal (blue).
Note: the RS232 Input 2 is limited to 4800 baud rate.
5.9 To Set the Baud Rate
The baud rate on RS232 Input 1 is selectable to match the connected device. The default baud rate
is 9600 bits per second. If an alternative baud rate is required the following SETUP.TXT
command line may be used:
BAUD=b
Where b is the baud rate.
Valid baud rates are 115200, 57600, 38400, 19200, 9600, 4800, 2400, 1200, 300 and
110 bits per second.
This setting also determines the baud rate of RS232 Output 1.
The baud rate on RS232 Input 2 and RS232 Output 2 is fixed at 4800 bits per second.

SpaceLogger®.S10
User Manual
©2012-13 Richard Paul Russell Limited, New Harbour Building, Bath Road, Lymington SO41 3SE United Kingdom
- 14 - 017SL167/3 04/09/13
5.10 To Select a Logging Interval
By default, the SpaceLogger.S10 will record every sample output by the attached sensor.
If an alternative logging interval is required, the SpaceLogger.S10 may be set to record at a less
frequent sample rate by using the following SETUP.TXT command line:
RATE=r
Where r is the time in seconds between sampling for the STX condition, as an integer.
Note:
r = 0 to 60
r should be set to a value greater than the sensor output interval or 0
If r = 0, every sample received by the SpaceLogger will be recorded –i.e. the
SpaceLogger looks for the next STX condition immediately after the ETX
condition (or ETX2 condition, if enabled) is detected.
5.11 To Record Data to a Single Log File
SpaceLogger.S10 creates a folder DATA on the SD card root folder. Data files are written to this
folder. By default, a new file is generated at the start of each day.
If preferred, rather than the SpaceLogger.S10 creating daily files, all data may be set to record to
one continuous log file. This is enabled using the following SETUP.TXT command line:
SINGLEFILE=f
Where f = Y or N
If f =Y, data is stored in a single log file
If f =N, data is stored in daily files

SpaceLogger®.S10
User Manual
©2012-13 Richard Paul Russell Limited, New Harbour Building, Bath Road, Lymington SO41 3SE United Kingdom
- 15 - 017SL167/3 04/09/13
5.12 To Customise File Names
When SINGLEFILE=N, the default file name for each day’s data is 20YYMMDD.CSV where
YYMMDD is that day’s date.
This may be customised to the format ffYYMMDD.nnn by using the following SETUP.TXT
command line:
FILE=ff.nnn
Where:
ff is a pair of ASCII characters that set the start of the file name. Default characters
are 20.
And, nnn are the ASCII characters that set the file extension. Default characters are CSV.
Note:
Lower case characters are converted to upper case characters so will not be
differentiated.
Question marks (?) may be used to denote a space.
The stored file name will now take the format:
ffYYMMDD.nnn
When SINGLEFILE=Y is set, the default file name for each day’s data becomes 20.CSV.
This may be customised to the format ffffffff.nnn by using the following SETUP.TXT command
line:
FILE=ffffffff.nnn
Where:
ffffffff is up to 8 ASCII characters that define the file name.
And, nnn are the ASCII characters that set the file extension.
Note:
Lower case characters are converted to upper case characters so will not be
differentiated.
Question marks (?) may be used to denote a space.

SpaceLogger®.S10
User Manual
©2012-13 Richard Paul Russell Limited, New Harbour Building, Bath Road, Lymington SO41 3SE United Kingdom
- 16 - 017SL167/3 04/09/13
5.13 To Disable the Time-Stamp
By default the SpaceLogger.S10 will pre-pend each data sample (before or in place of the STX
identifier, depending on if LOGSTX=Y or N) with the date and time in the format as follows:
DD/MM/YY,hh:mm:ss,<data sample defined by STX and ETX><data sample defined by
STX2 and ETX2>
The time stamp is to the nearest second and is the time at which the data is written to the SD card.
The date and time-stamping of data by the SpaceLogger.S10 may be switched off by using the
following SETUP.TXT command line:
TIMESTAMP=t
Where t = Y or N
If t =Y, on detection of the start of the sample (STX) the date & time stamp
will be inserted into the stored data, pre-pending the data sample(s)
If t = N, data will not be date & time stamped
5.14 To Record all Data (Disable Sampling)
It is possible to disable the sampling function of the SpaceLogger.S10 and to record all data that is
received on the RS232 input(s).
In order to disable the data sampling i.e. the detection of the STX and ETX/STX2 and ETX2
conditions, the following SETUP.TXT command line is required:
LOG_ALL=a
Where a = Y or N
If a = Y, detection of STX and ETX/STX2 and ETX2 will be disabled and all
data logged [Note that this disables the time/date stamp and logging of switch
status]
If a = N, only data between STX and ETX will be logged, where STX and
ETX are defined by the STX and ETX commands. Data between STX2 and
ETX2 will also be logged if command line SENTENCE2=Y is implemented.

SpaceLogger®.S10
User Manual
©2012-13 Richard Paul Russell Limited, New Harbour Building, Bath Road, Lymington SO41 3SE United Kingdom
- 17 - 017SL167/3 04/09/13
5.15 To Output RS232 Data from the SpaceLogger.S10
RS232 data may be output in two forms from the SpaceLogger. There is the option to output data
exactly as it is received by the SpaceLogger from the attached device/sensor(s), or the option to
output the data in the format it is written to the log file on the memory card.
The wiring connections for RS232 output are as described in Section 4.2 –signal to terminal 14
(green) RS232 Output 1 and ground to any GND terminal (blue).
The baud rate of the output data stream is as per the data received on RS232 Input 1, i.e. default
9600 baud or as selected per Section 5.9.
RS232 data output from the SpaecLogger.S10 is enabled by using the following SETUP.TXT
command line:
OUTPUT=o
Where o = I, L or N
If o = I, the data input on the RS232 input (Rx) is output on the RS232 output
(Tx)
If o = L, the data as written to the log file on the memory card is output on the
RS232 output (Tx)
If o = N, no data will be output
Please note that the SpaceLogger model, software version and time & date are also output on
powering on.
5.16 To Enable a Handshake Response
Should one of the connected devices require a handshake response to initiate data output, the
SpaceLogger.S10 may be set to detect a message from the device defined by any one of the STX,
ETX, STX2 or ETX2 conditions. One receipt of this message, the logger outputs the ASCII string
defined by command RESPONSE.
The handshake function may be enabled via the following SETUP.TXT command line:
HANDSHAKE=h
Where h = STX, ETX, STX2, ETX2 or N
If h = STX, the logger will output the ASCII string defined by command
RESPONSE on receipt of the STX identifier on RS232 Input 1
If h = ETX, the logger will output the ASCII string defined by command
RESPONSE on receipt of the ETX identifier on RS232 Input 1
If h = STX2, the logger will output the ASCII string defined by command
RESPONSE on receipt of the STX2 identifier on RS232 Input 1 or 2
(determined by the condition of command RX2)

SpaceLogger®.S10
User Manual
©2012-13 Richard Paul Russell Limited, New Harbour Building, Bath Road, Lymington SO41 3SE United Kingdom
- 18 - 017SL167/3 04/09/13
If h = ETX2, the logger will output the ASCII string defined by command
RESPONSE on receipt of the ETX2 identifier on RS232 Input 1 or 2
(determined by the condition of command RX2)
The response to be output by the logger is defined using the following SETUP.TXT command line:
RESPONSE=“cc…”
Where cc… is a string of up to 31 ASCII characters
Note:
The string is case sensitive.
The following escape codes may be included in the STX and ETX strings:
\n = 0x0A LF
\r = 0x0D CR
\" = 0x22 "
\' = 0x27 '
\\ = 0x5C \
\1 = 0x01 SOH
\2 = 0x02 STX
\3 = 0x03 ETX
\4 = 0x04 EOT
\5 = 0x05 ENQ
\6 = 0x06 ACK
\7 = 0x07 BEL
\a = 0x07 BEL
\b = 0x08 BS
\f = 0x0C FF
\t = 0x09 HT
\v = 0x0B VT
The default setting is RESPONSE=“Q”.
The response to the handshake is output by the SpaceLogger.S10 on RS232 Output 1 by default,
unless the logger has been set up to output RS232 data using command OUTPUT=L or I. If data
has been set to output on RS232 Output 1, the response to handshake will be output on RS232
Output 2 instead.
The wiring connections for RS232 output are as described in Section 4.2 –either signal to terminal
14 (green) for RS232 Output 1 or to terminal 12 (pale green) for RS232 Output 2 and ground to
any GND terminal (blue).
Note: the RS232 Output 2 is limited to 4800 baud rate.

SpaceLogger®.S10
User Manual
©2012-13 Richard Paul Russell Limited, New Harbour Building, Bath Road, Lymington SO41 3SE United Kingdom
- 19 - 017SL167/3 04/09/13
5.17 To Record Unprintable ASCII Characters
By default, to ensure logged data can be easily read with Microsoft notepad, any un-printable
characters with an ASCII value less than 10 [0x00 to 0xff] are converted to a space character
<SP>.
To disable this modification of the data, the following SETUP.TXT command line is required:
RAW=w
If w = Y, all characters with values 0 to 255 will be logged
If w = N, characters with a value less than 10 will be logged as a space
character <SP>
5.18 To Record the Status of the Digital Input Channels
It is possible to record the status of switches connected to the 2 digital I/O terminals. To enable
recording of the switch status, the following SETUP.TXT command line may be used:
SWITCH=c
If c = Y, the following is appended to each data sample(s):
,s8,s10<CR><LF>
If c = N, the switch status is not logged
Where:
s8 is the status of the switch to ground connected to terminal 8
s10 is the status of the switch to ground connected to terminal 10
s8 and s10 are 0 if the switch is open and 1 if the switch is closed
Refer to section 4.2 and 4.4 for details of connecting the digital I/O terminals.
Table of contents