annulla
Visualizzazione dei risultati per 
Cerca invece 
Intendevi dire: 

CANopen unable to create interface

Risolto!
Vai alla soluzione

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
Messaggio 1 di 3
4.610Visualizzazioni

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
Messaggio 2 di 3
4.605Visualizzazioni
Soluzione
Accettato da 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
Messaggio 3 di 3
4.567Visualizzazioni