System information

Section 2. Protocols and Packet Types
2-24
Set Values Command Body (MsgType 0x1b):
Name Type Description
MsgType Byte Message type code (0x1b)
TranNbr Byte Transaction number
SecurityCode UInt2 Security code of the datalogger
TableName ASCIIZ Table name
TypeCode Byte Data type code that specifies the format of the
data values returned in the response
FieldName ASCIIZ Field name including dimensionality if
applicable
Swath UInt2 Number of values to set starting with the one
specified by FieldName
{ Values } Byte [ ] Values to set in the datalogger repeated as
needed according to the Swath. The TypeCode
and the number of elements requested
determine the size of this field.
Set Values Response Body (MsgType 0x9b):
Name Type Description
MsgType Byte Message type code (0x9b)
TranNbr Byte Transaction number
RespCode Byte Response code:
0x00: Complete
0x01: Permission denied
0x10: Invalid table or field
0x11: Data type conversion not supported
0x12: Memory bounds violation
Since dealing with data types can be a complex process in these transactions,
the client application will dictate the data type. On a Get Values transaction
the datalogger must convert the values to the data type requested. On a Set
Values transaction, the datalogger must convert the values to the appropriate
internal data type. If a conversion is not supported or not possible, the
response will indicate this lack of support appropriately.