CANopen Basics for cRIO
This example shows how to do basic CANopen operations like NMT, SDO and PDO with cRIO NI 985x modules.
One example shows how to write and read PDOs to write and read values to or from a CANopen device. The second example shows how to write and read SDOs to change or read device parameters.
FPGA CAN Engine with CANopen Protocol Reference Example - A more advanced example for CANopen and cRIO
NI CANopen LabVIEW Library - CANopen library for PCI/PXI NI CAN hardware
Application Software: LabVIEW Full Development System 8.2
Hardware Group: CompactRIO, Reconfigurable I/O (RIO)
Driver: NI-RIO 2.3
Reader Comments | Submit a comment »
the project was not running for me.
So I putted the timings on the Read PDO vi to
solve the connection problem.
But the main issue is given by the error
terminal conected to the case structure on
the FPGA vi.
Because of a timeout error it avoid to reset
the boolean Ready and so lock averything.
Delete the case structure and it works again!
Enjoy it! ;)
- Davide Galli, University of Bologna. firstname.lastname@example.org - Dec 18, 2010
CANopen Basics problem solving
If the connection to your cRIO gerts lost using this example take a closer look at "Read PDO": - Place loop timing in both while loops - Program a timeout condition so the loops exit if no PDO is received Hope this helps
- Feb 10, 2009