NI-Industrial Communications for CANopen VI’s such as
NMT Write.vi, TPDO Create.vi, RPDO Create.vi, or
SDO Create.vi have a Node ID input terminal. You can use
NMT Write.vi to send a message to every node on the bus by using the Node ID 0. If you want to communicate with multiple nodes on the bus, you will need to open connections to each of them and send the message. In the example below, all nodes on the bus are set into a pre-operational state at once with the CANopen NMT write VI. After that, SDO data is read from node 4 and 3.
- This image is a LabVIEW snippet, which includes LabVIEW code that you can reuse in your project. To use a snippet, right-click the image, save it to your computer, and drag the file onto your LabVIEW diagram.
- The Node ID 0 is only supported by the