Commands
Appendix B
SPAN-SE User Manual Rev 1
117
B.4.16 LOGFILE
Log Data to a File on the SD Card
This command allows you to log data to a file on the SD Card.
Abbreviated ASCII Syntax:
Message ID: 157
LOGFILE action [device] [filename]
Abbreviated ASCII Example:
LOGFILE OPEN SD SITE1.GPS
Field
Field
Type
ASCII
Value
Binary
Value
Description
Binary
Format
Binary
Bytes
Binary
Offset
1
header
-
-
This field contains the command
name or the message header
depending on whether the
command is abbreviated ASCII,
ASCII or binary, respectively.
-
H
0
2
action
Open
0
Open a file to log to it or close a
file.
Enum
4
H
Close
1
3
device
Choose a mass storage device, see
default = SD
Enum
4
H+4
4
filename
Filename where filenames have a
maximum 12 character limit.
default = SPAN_
#
.log
where
#
is the next number in the
list starting at 0
Char[12]
12
H+8