Example Code

CANopen Basics for USB 8473

Code and Documents

Attachment

Overview


This example shows how to do basic CANopen operations like NMT, SDO and PDO with NI USB 8473 devices.

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.

Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.

Comments
blipton
Member
Member
on

Is it possible to use Labview/NI-USB-8473 with this example or is there an additional software package or driver that must be purchased?  For example, "CANopen LabVIEW Library 1.1.4"?

 

And can a PEAK USB Can bus device also be used with Labview and this example?  I found this Q&A, but it's unclear if it applies to this legacy, non NI-XNET driver.

https://forums.ni.com/t5/LabVIEW/PCAN-USB-adapter-with-NI-CAN/td-p/3094940?profile.language=en

https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z000000P6yhSAC&l=en-US

Contributors