144 DL-V3 User Manual Rev 3
B.44 WRITEFILE Create/Append Files on CF Card
The writefile command allows you to create files on the CF card or append data to an existing file on
the CF card.
The writefile command writes data to a file named filename on the CF card. If a file named filename
does not exist, the file is created. If a file named filename already exists, data is appended to the end of
the file. Only simple filenames (maximum 8 characters and an optional 3-character extension) are
supported. data is up to 1024 bytes, and is ASCII data if the writefile command is issued in ASCII but
can be binary in a binary writefile message.
length specifies the number of bytes supplied as data.
Syntax
writefile filename length data
Message ID = 204
Field Data Bytes Format Units Offset
1Header - -0
2 Filename 12 Char[] H
3 Length 4 Ulong Bytes H+12
4 Data Max. 1024 Char[] H+16