Automotive and Embedded Networks

cancel
Showing results for 
Search instead for 
Did you mean: 

CANopen example code

I am a new CANOPENH user.
Do you have any CANOPEN example in LabVIEW?
 
Thanks
0 Kudos
Message 1 of 7
(10,928 Views)
 

Hi Vay,

If you are interested in a CANopen master, you might want to consider using the CANopen LabVIEW Library instead. That way you don't have to deal with many of the CANopen protocol details.

-B2k

 
0 Kudos
Message 2 of 7
(10,919 Views)

Thank you for your advise

I actually have the canopen library which involves all the canopen sub-vi needed.

But what I need would be a simple and complete VI demo using canopen protocole between 2 or more devices (analog or digital input or output...).

Do someone have such a demo?

Thank you.

0 Kudos
Message 3 of 7
(10,894 Views)
 

Hi Vay,

Are you sure you have the new CANopen Library for LabVIEW? (released 2 months ago).

https://www.ni.com/docs/en-US/bundle/ni-industrial-communications-canopen/page/canopenhelp/canopen_h...

If yes see the attached example for writing and reading to a WAGO CANopen Controller for digital and analog I/O.

DirkW

Message 4 of 7
(10,881 Views)
I am interested in trying this example but am having problems with missing VIs.  I have installed the CanOpen library from NI, two port, high speed version.  Many of the VIs needed to run the example are still missing.  Are there additional NI libraries I need or are some missing from the example LLb.
 
 
SCReed
0 Kudos
Message 5 of 7
(10,737 Views)
The CAN open demo example cannot open completely. Can you send the full DEMO.

Message Edited by suren on 02-09-2007 05:17 AM

0 Kudos
Message 6 of 7
(10,214 Views)
 

Hi,

If your LabVIEW cannot find some VIs, check the User Lib for the CANopen Library functions. I checked the LLB and i could open the Example without any missing Sub VI.

 

If that doesn't work, please post the missing VI names.

DirkW

0 Kudos
Message 7 of 7
(10,206 Views)