19
8.3
Command list
The commands are line based and terminated with newline character CR (0xD). On
error the response will be 0x7 (BELL).
The “help” command (‘
H’, ‘h’ or ‘?’)
will list supported commands.
Command
Response
Function
H[CR]
[CR]
List all supported commands
h[CR]
[CR]
?[CR]
[CR]
Example: H[CR]
Return Code
List of Supported Commands:
‘O’ – Open the channel in Normal mode
‘L’ – Open the channel in Listen Only mode
‘Y’ – Open the channel in Loopback mode
‘C’ – Close CAN Channel
‘S’ – Set standard CAN bitrate
‘s’ – Set non-standard CAN bitrate
‘t’ – Transmit a standard frame
‘T’ – Transmit an extended frame
‘r’ – Transmit a standard remote request frame
‘R’ – Transmit an extended remote request frame
‘Z’ – Set timestamp on/off
‘m’ – Set acceptance mask
‘M’ – Set acceptance filter
‘F’ – Read status flag
‘V’ – Check software version
‘N’ – Check serial number
‘m’ – Set acceptance mask
‘M’ – Set acceptance filter
‘RST’ – Reset USB CAN Adapter
‘H’, ‘h’ or ‘?’ – List supported commands
Содержание USB-2CAN-M
Страница 1: ...Titan Electronics Inc Web www titan tw USB 2CAN M USB CAN SI M USER S MANUAL 2019 Edition ...
Страница 5: ...4 9 6 13 Using the API in Python 70 9 6 14 Using the API in LabVIEW 71 ...
Страница 36: ...35 Connected to XXX kbits s firmware version VXXXX and operation mode at the bottom of the main panel ...
Страница 43: ...42 ...
Страница 62: ...61 Sample Command CAN_Status 2508 Checks the status bits of device connected to channel with the handle 2508 ...
Страница 66: ...65 break Status CAN_Close Handle printf Test finish n return 0 ...