Installation guide

AIX Installation
Manual • Doc. No.: C.2001.21 / Rev. 3.0 •
© 2000-2007 esd gmbh
CAN-API Installation
Page 90 of 112
7. Check Whether the Driver Runs With CAN tool ‘CANreal
- Make sure that the wiring and terminations are correct and make sure that at least one other
working CAN participant has been connected!
- Start the monitor program CANreal:
./canreal &
- Set the baud rate of your CAN network for network 0 in CANreal and click
Init
.
‘Init done’ appears in the window.
- Click
Add Id
to select the identifier area of 0 to 2047.
- Click
Start
to display the messages of the CAN bus.
8. Test Program cantest
In addition to CANreal, which has got a UNIX-typical user interface, you can also use the test
program
cantest
under AIX. It is operated by means of command line specification (for
details see chapter ‘Test Program cantest’ in CAN API manual part 1 [1]).
- compile cantest:
gcc -o cantest nttest.c ntcan.o
- call cantest:
./cantest