LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Use of Ni-Can for OpenCan possible?

Hello,

i want to create an application where the computer is the Master and is connected to 10 devices as slave

Everything should run using the software OpenCan in labview under windows.

Questions:

- Do i still need to install NI-Can? Or what has Ni-Can to do with OpenCan

- Is there a free labview library for OpenCan?

 

Thanks for help

0 Kudos
Message 1 of 5
(4,003 Views)

NI-CAN is the old legacy API to older CAN hardware boards from NI. All newer boards should be accessed using the NI-XNET API.

There is a compatibility library that provides NI-CAN functionality on top of NI-XNET but it is not fully transparent and does not support every NI-CAN feature.

 

Then there is an CANOpen library that uses NI-CAN for accessing CANOpen devices through the old legacy boards. This is (was?) a seperate purchase.

When you use the special CANOpen interface boards you can install this extra driver which will add support for CANOpen to your NI-XNET function palette.

Rolf Kalbermatter  My Blog
DEMO, Electronic and Mechanical Support department, room 36.LB00.390
0 Kudos
Message 2 of 5
(3,982 Views)

Does this mean when i buy today a CAN card from NI then it includes the use of the SW NI-XNET.

And then i can also download for free the extra driver for CANOpen support.

 

If i have an old CAN card from NI then this card only supports NI-CAN. Will it also run with the extra driver for CANOpen?

 

What CAN card would i typically buy? Can you give me a link?

 

Thx

0 Kudos
Message 3 of 5
(3,975 Views)

No! The CANOpen for LabVIEW VI library is not free, see here!

It works through NI-CAN and with the NI-CAN Compatiblity library for NI-XNET also with the newer hardware devices. The NI Industrial Communication for CANOpen driver only works with specific CANOpen boards such as the PCI/PXI-8531 and the NI-9881 C-series module.

Rolf Kalbermatter  My Blog
DEMO, Electronic and Mechanical Support department, room 36.LB00.390
0 Kudos
Message 4 of 5
(3,970 Views)

Using the CANOpen specific hardware/software is the only thing that we officially support, but this KB goes over the different options that you have depending on exactly what CAN hardware you currently have.

 

https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z000000P6yhSAC&l=en-US

Matt J | National Instruments | CLA
0 Kudos
Message 5 of 5
(3,953 Views)