B.43 WRITE Create User Data Logs

The write command/log allows you to create logs which contain user data.

The write command allows you to supply user data for the write log. Upon receipt of the write command, the receiver generates a write log to all destinations which have been configured to send write logs with a log write onnew command.

All of the supplied arguments are echoed in the generated write log.

If written to a logfile, the previous argument is overwritten to indicate the file offset (from the beginning of the file) of the previous writeb or writehexb log. The first record in a logfile has this field set to 0.

length specifies the number of bytes supplied as data.

data is up to 1024 bytes, and is ASCII data if the write command is issued in ASCII but can be binary in a binary write message.

Syntax

write previous type length data

Message ID = 257

Field

Data

Bytes

Format

Units

Offset

 

 

 

 

 

 

1

Header

 

-

-

0

 

 

 

 

 

 

2

Previous

4

Ulong

Bytes

H

 

 

 

 

 

 

3

Type

4

Ulong

 

H+4

 

 

 

 

 

 

4

Length

4

Ulong

Bytes

H+8

 

 

 

 

 

 

5

Data

Max. 1024

Char[]

 

H+16

 

 

 

 

 

 

DL-V3 User Manual Rev 3

143

Page 143
Image 143
Novatel DL-V3 user manual Write Create User Data Logs, 143