EasyManua.ls Logo

Titan Electronics USB-2CAN-M - Page 53

Titan Electronics USB-2CAN-M
76 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
52
Under Linux connect two CAN devices, installed as /dev/ttyUSB0 and /dev/ttyUSB1.
Open two terminal windows and change to the directory where examples were
extracted to and execute
export LD_LIBRARY_PATH=.
./TestMasterSlave -s “/dev/ttyUSB0” -S 125K -M none -l ./libcanfestival_can_titan.so
in the first terminal window and
export LD_LIBRARY_PATH=.
./TestMasterSlave -m /dev/ttyUSB1” -M 125K -S none- ./libcanfestival_can_titan.so
in the second.
Following pictures shows the output messages of both nodes.
Master:
Slave:

Table of Contents