LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

CANopen unable to create interface

Solved!
Go to solution

I am trying to communicate to a CAN open device using the NI PCI-8512 CAN/HS board. This vi accepts a string interface ID: "CAN2" and a Baud Rate: "50000". I run the VI and it gives me an error code: -1074388957 Source: CANopen Interface Create.vi

 

I've opened MAX and the CAN2 port does exist and I can open the monitor and see the heart beat messages. I am not sure how to troubleshoot this type of error at this point.

 

Can anybody help?

-Nate
0 Kudos
Message 1 of 3
(4,145 Views)

I'm not too familiar with the CANOpen library.  Is there a particular reason why you're not using NI-CAN or NI-XNET?  I'm pretty sure MAX relies on those drivers.

0 Kudos
Message 2 of 3
(4,140 Views)
Solution
Accepted by topic author N8D11

N8D11,

 

If you look at the NI CAN Product Compatibility and Feature Table, you will notice the footnote for NI-XNET compatibility with CANopen. It states that the NI-XNET Compatibility Library is required. This is because CANopen is based on the NI-CAN driver, while your device is designed to use NI-XNET. The DevZone article Migrating NI-CAN Applications to NI-XNET explains the problem in detail. You will need to rerun the NI-XNET installer and be sure to select the option for the NI-XNET Compatibility Library.

National Instruments
Message 3 of 3
(4,102 Views)