20
8.3.1
Opening the CAN Bus Channel
The CAN bus channel will be opened with the command O[CR], L[CR] or Y[CR]. The
command O[CR] will open the CAN bus channel in normal operation mode, the
command L[CR] will open the CAN bus channel in listen only mode, in which no bus
interaction will be done from the controller. the command Y[CR] will open the CAN
bus channel in a loop-back mode, in which the USB to CAN adapter will also receive
the frames that it sends. Before you use one of the commands, you should set a bitrate
with the commands S or s.
Command
Response Function
O[CR]
[CR]
Open the channel in Normal mode
L[CR]
[CR]
Open the channel in Listen Only mode
Y[CR]
[CR]
Open the channel in Loopback mode
8.3.2
Closing the CAN Bus Channel
The CAN bus channel will be closed with the command C[CR]. The command can only
be used if the CAN bus channel is open.
Command
Response Function
C[CR]
[CR]
Close the CAN channel if it is opened
Содержание 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 ...