09-11-2010 09:22 PM
I would like to know if the Labview CANopen library functions can be used to create an application with the PCI 8511 X-Net single port card.
I already have the card and can procure the Library if I know it can be used with this card. I need to command / query a hydraulic proportional valve with CANopen interface.
If the answer is NO, then is it that I need to develop the whole thing starting from scratch using the Frame API functions ?
Raghu
09-13-2010 03:08 AM
It is possible to use CANopen for NI-XNET cards through the NI-CAN Compatibility Layer, however this is not officially supported by NI. All functions except the PDO Wait function work properly, and because of this bug, we do not officially support this setup. You can see the same here - http://zone.ni.com/devzone/cda/tut/p/id/5859
While the NI-XNET Compatibility Library for NI-CAN is designed to ensure basic functionality, it cannot always be completely mapped from NI-CAN to NI-XNET due to hardware-specific features, pending functionality from NI-XNET, or flaws in the original design of NI-CAN. Differences between the available attributes/functions/virtual instruments in NI-CAN and the NI-XNET Compatibility Library for NI-CAN are detailed in the NI-CAN Software and Hardware Manual. The NI-XNET Compatibility Library for NI-CAN feature is part of NI-XNET, and you can install it as an option during NI-XNET installation.
A tutorial on migrating CAN apps to XNET can be found here - http://zone.ni.com/devzone/cda/tut/p/id/9717
regards
Arjun
09-15-2010 10:29 AM
Hi Apex,
Thanks for trying to help. I need lots of it as of now 😉 I have been spending lots of time on the Comnpatibility stuff and really do not know if I am quite clear.
Just to simplify my problem :
I have a PCI 8511 card in my PC and I have installed the full XNET drivers from the CD.
I have a valve with a CANopen interface that sends a message on boot up that should read "0x701" ( 0x700 + Valve node ID )
Could you tell me if there is a simple example to just read this message in the Examples that ship out with the XNET card ? ( I tried the "Transmit Recieve Same Port.vi " in the CAN Frame API example and it does not work )
Thanks