
3
8.3.13 Getting Version Information.....................................................................30
8.3.14 Getting Serial Number ..............................................................................30
8.3.15 Resetting the USB CAN adapter................................................................30
9 TOOLS........................................................................................................................31
9.1 Setting 3MBit Baud Rate for Better CAN Bus Performance ..............................31
9.2 Firmware Upgrade .............................................................................................32
9.3 CANHacker .........................................................................................................33
9.3.1 Settings procedure for selecting and configuring the USB to CAN adapter
..............................................................................................................................34
9.3.2 Receiving CAN frames.................................................................................36
9.3.3 Sending CAN frames ...................................................................................36
9.3.4 Assistant features .......................................................................................38
9.4 Titan CAN Test Program.....................................................................................40
9.4.1 Settings procedure for selecting and configuring the USB to CAN adapter
..............................................................................................................................41
9.4.2 Receiving CAN frames.................................................................................43
9.4.3 Sending CAN frames ...................................................................................43
9.4.4 Assistant features .......................................................................................45
9.5 CANopen ............................................................................................................49
9.5.1 How to get CanFestival ...............................................................................49
9.5.2 Linux Compilation and installation .............................................................49
9.5.4 Windows Compilation.................................................................................50
9.5.5 Compilation with Visual Studio...................................................................50
9.6 APPLICATION PROGRAMMING INTERFACE .......................................................53
9.6.1 CAN_Open...................................................................................................54
9.6.2 CAN_Close...................................................................................................56
9.6.3 CAN_Write ..................................................................................................57
9.6.4 CAN_Read ...................................................................................................58
9.6.5 CAN_Flush...................................................................................................59
9.6.6 CAN_Status .................................................................................................60
9.6.7 CAN_Version ...............................................................................................62
9.6.8 CAN_MSG Structure....................................................................................63
9.6.9 Example Code for C.....................................................................................64
9.6.10 Using the API in C#....................................................................................66
9.6.11 Using the API in Visual Basic .NET.............................................................67
9.6.12 Using the API in Visual Basic 6.0 ...............................................................69