How to Implement CANopen on PXI 8513?

Updated Feb 21, 2018

Reported In

Hardware

  • PXI-8513
  • PXI-8513/2

Software

  • CANopen Library Toolkit
  • LabVIEW

Driver

  • NI-CAN
  • NI-XNET

Issue Details

I have a PXI-8513 which works on the XNET driver, how can I implement CANopen protocol on this? 

Solution

The PXI‑8513 is a software-selectable Controller Area Network (CAN) interface for developing applications with the NI‑XNET driver. However it is possible to implement CANopen protocol on it by using a software library. Follow the below steps to implement the CANopen protocol :

1. Install the XNET driver compatible with your version of LabVIEW, while installation make sure the NI-CAN compatibility layer is also selected. This is mandatory for the CANopen libraries to run. Note that by default the compatibility layer is not enabled.



2. Ensure system is rebooted after the installation. Install the NI CANOpen LabVIEW Library. This is not available for open downloads as it is a purchasable product from NI. Make sure that the Support for LabVIEW 2010 (or higher) and the NI-CAN driver is enabled.



3. After the installation, follow the knowledge base How Can I Add CANopen LabVIEW Library Support for a New Version of LabVIEW? to make sure the CANopen library is compatible with your version of LabVIEW.

4. The CANopen APIs should now be available in LabVIEW function palette. To find the example programs of the CANopen Library, refer to the knowledge base Where Are the LabVIEW CANopen Library Examples Located?.

Additional Information

NI recommends NI-Industrial Communication for CANopen for new design. However to understand more about implementing CANopen in NI products, you would want to know What CANopen Software is Available and What Hardware is Compatible with National Instruments Products?

WAS THIS ARTICLE HELPFUL?

Not Helpful