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: