50
9.5.4
Windows Compilation
CanFestival can be compiled and run on Windows platform. It is possible to use both
Cygwin and win32 native runtime environment.
Minimal Cygwin installation is required at configuration time in order to create specific
header files (config.h and cancfg.h). Once these files created, Cygwin is not necessary
anymore. Project and solution files have been created and tested with Visual Studio
Express 2005. Be sure to have installed Microsoft Platform SDK, as recommended at
the end of Visual Studio installation.
Cygwin must be installed with those packages:
1.
gcc
2.
unzip
3.
wget
4.
make
Extract CanFestival source code into your Cygwin home. Then configure CanFestival.
cd CanFestival
./configure --can=titan
make
9.5.5
Compilation with Visual Studio
You can either load independent “*.vcproj” project’ files along your own pro jects in
your own solution or load the provided “CanFestival-3.vc8.sln” solution files directly.
Build CanFestival-3 project first.
The “examples” directory contains some test program you can use as example you’re
your own developments.
You'll find an example on the supplied CD showing the communication between
master and slave nodes. Following baudrates are supported: 20K, 50K, 100K, 125K,
250K, 500K and 1M.
•
CanFestival_example_win_x86.zip For Windows 32 bit
•
CanFestival_example_win_x64.zip For Windows 64 bit
•
CanFestival_example_linux_x86.tar.gz For Linux 32 bit
•
CanFestival_example_linux_x64.tar.gz For Linux 64 bit
Содержание 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 ...