Getting Started
CAN USB-232 User Manual
2-49
In configuration mode:
To enable: set timestamp enable=yes
To disable: set timestamp enable=no
To determine the current state of timestamp enable: get timestamp
This will return a string with the enable status: Ex: <A:enabled=yes>
Note: commands are not case sensitive.
CAN RX Message Format Changes (when timestamping is enabled):
ASCII Mode :
In ASCII mode, the timestamp is appended to the data block in uppercase HEX ASCII in the same way that
the data field is presented (i.e.: two ASCII HEX digits to represent a byte). The '@' character is inserted
between the last DATA digit and the first TIMESTAMP digit to differentiate between the two fields.
Zero-length messages appear as they would normally, except the prefixed timestamp is added.
Ex 1:S12N12@F00F: This is a 11-bit identifier with 1 data byte and timestamp of $F00F ms.
Ex 2:X13N@2EDF: This is a 29-bit identifier with 0 data bytes and timestamp of $2EDF ms.
Ex 3:S14R5@15E5: This is a 11-bit identifier with RTR=5 and timestamp of $15E5 ms.
In short, the timestamp is always prefixed with a '@' character.
The timestamp is variable length from 1 digit to 4 digits (uppercase ASCII HEX).
BINARY Mode:
In binary mode, the received CAN messages are extended by appending the time-stamp as two binary bytes
(MSB first).
The encoding of the two byte is the same as for the DATA field (i.e., If any of the time-stamp bytes is a
synchronization character, it is escaped).
The time-stamp field is always two logical bytes, but can be expanded up to four in the case where both
MSB and LSB bytes are synchronization characters.
2.12.1 get timestamp
Summary of Contents for CAN USB-232
Page 1: ...CAN USB 232 User Manual Revision E August 1 2016 ...
Page 2: ......
Page 36: ...Troubleshooting 2 28 CAN USB 232 User Manual ...
Page 41: ...Getting Started CAN USB 232 User Manual 2 33 2 8 4 Get CAN Virtual Circuit Setting ...
Page 42: ...Troubleshooting 2 34 CAN USB 232 User Manual 2 8 5 Set CAN Virtual Circuit TX ID ...
Page 43: ...Getting Started CAN USB 232 User Manual 2 35 2 8 6 Set CAN Virtual Circuit RX ID ...
Page 44: ...Troubleshooting 2 36 CAN USB 232 User Manual 2 8 7 Set CAN Virtual Circuit Forced Send Code ...
Page 45: ...Getting Started CAN USB 232 User Manual 2 37 2 8 8 Set CAN Virtual Circuit Forced Wake Code ...
Page 46: ...Troubleshooting 2 38 CAN USB 232 User Manual 2 8 9 Set CAN Virtual Circuit Timeout Send ...
Page 47: ...Getting Started CAN USB 232 User Manual 2 39 2 8 10 Set CAN Virtual Circuit Wake Timeout ...
Page 48: ...Troubleshooting 2 40 CAN USB 232 User Manual 2 8 11 Set CAN Virtual Circuit Wait after Wakeup ...
Page 65: ...CAN USB 232 User Manual 2 1 ...