
Commands
Chapter 5
EuroPak-15a Receiver User Manual Rev 5
59
5.3.10
LOG
Request Logs from Receiver
Many different types of data can be logged using several different methods of triggering the log events. See
for further information and a complete list of data log structures.
The
hold
parameter, which is only valid when the
ONTIME
trigger is being used, will prevent a log from being
removed when the
UNLOGALL
command is issued. To remove a log which was invoked using the
hold
parameter requires the specific use of the
UNLOG
command.
The
period
and
offset
parameters are only valid when the
ONTIME
trigger is being used as well. For example,
to log data at 1 second after every minute you would set the
period
to 60 and the
offset
to 1.
Maximum flexibility for logging data is provided to you by these logs. You are cautioned, however, to
recognize that each log requested requires additional CPU time and memory buffer space. Too many logs
may result in lost data and degraded CPU performance. Receiver overload can be monitored using the
Buffer Over-run
bits of the
Receiver Status
word in any log header.
Syntax:
Message ID: 1
LOG
[
PORT
]
MESSAGE
[ TRIGGER ] [
PERIOD
[ OFFSET ] [
HOLD ] ]
Field
Field
Name
Valid Values
Description
Format
Binary
Bytes
Binary
Offset
ASCII
Binary
1
header
This field contains the
Abbreviated ASCII
command name. See
.
H
0
2
port
See
Serial port at which to
output the log data.
Enum
4
H
3
message
Any valid message
name, with a suffix to
specify the output format
as explained in
.
Any valid
message ID
Log to output
UShort
2
H+4
4
message
type
This field is only present in
Binary
format.
See
Message type of log.
Char
1
H+6
5
Reserved field required for
Binary
format only. Set to 0 when entering the
command in
Binary
.
Char
1
H+7
6
trigger
See
Trigger, or condition,
to generate log on.
Enum
4
H+8
7
period
Any positive double value.
Log period for
ONTIME
trigger in
seconds
Double
8
H+12
8
offset
Any positive double value smaller than
the value specified in the
period
field.
Offset for
ONTIME
trigger in seconds.
Double
8
H+20
9
hold
See
Flag for whether or
not the log is removed
by the
UNLOGALL
command. Valid for
ONTIME
trigger only.
Enum
4
H+28