05-24-2013 06:58 AM
Hi there,
for a reasearch project we are trying to use 2 CAN volume flow sensors (http://www.hydrotechnik.com/english/QT106_DSEN.pdf) . To use them in our CAN network I first have to configure the node-id and baudrate of each one. The manufacturer told me to do this via Layer Setting Service (LSS). (How) Can i do that using Labview?
I can use one of the following NI CAN Cards: NI PCI-CAN/2 and NI-PCI-8512 .
Thanks for any hints.
Greetings,
Thomas
Solved! Go to Solution.
05-24-2013
07:07 AM
- last edited on
01-30-2024
08:11 AM
by
migration-bot
Unfortunately, neither of your interfaces are compatible with CANopen. You will need a PCI-8531.
The baudrate and node-id can be configured very easily with the NI Industrial Communications for CANopen library.
05-24-2013 07:16 AM - edited 05-24-2013 07:17 AM
I am pretty sure they are compatible in "some" way, because I am already controlling motors with the pci-8512 and reading sensor values with the pci-can/2 via labview and CANOpen library.
Thanks for the answer. I'll pass that information and see if it's worth getting new NI equipment just for the 2 sensors or if getting sensors with analog output is better in this case.
05-27-2013
01:52 AM
- last edited on
01-30-2024
08:12 AM
by
migration-bot
Hi Thomas87,
perhaps this helps:
regards
Dippi
05-27-2013
03:49 AM
- last edited on
12-17-2024
06:37 PM
by
Content Cleaner
Don't miss this warning : NI does not recommend the NI CANopen LabVIEW Library for use in new designs.
If I remember correctly the installer don't allow you to select new versions (> 8.6 ?) of LabVIEW. Therefore you will have to copy files manually.
You should use the new and free driver (NI Industrial Communications) although it needs a PCI-8531 interface.
05-27-2013 04:14 AM
Hi all,
1) JB is right
NI does not recommend the NI CANopen LabVIEW Library for use in new designs
But it is a second way to communicate over CANOpen.
2) I started the Installer...as attachment you will find a screenshot
The installer works with LV 8.5, 8.6, 2009 and 2010 (I have installed LV 2012 - and I can't choose that option)
=> I / you have to install this library manually
Regards
Dippi
05-27-2013 06:54 AM
Thank you Dippi for the details about the available LV versions in the installer. I didn't remember the numbers.
Although one of my colleagues wrote an application with this now "obsolete" and "will stay as it is" library, I choose the switch to the new one when I had to use CANopen in a project about one year ago.
Our team of developers use a common library which is completed with VIs of every new project. Therefore, in medium and long term, it would be a nonsense to build VIs for our library with this no longer supported CANopen library.
I would really avoid this library if you have to maintain your code during severals years !
05-27-2013 09:18 AM
Thank you for your hints. I am using the NI CANOpen Library although it is not recommended because it was used for this project until now and I have to achieve certain goals in a short amount of time which means I do not have much time left over for switching systems/toolboxes and adjusting the existing code.
The problem that the old Library and my NI Cards do not support LSS remains of course. For now I can use different sensors, but I will order a new PCI-8531 soon.
06-27-2017 01:19 PM
Hi there,
Can you give an example how to change a node-id of a device? I have two encoders from the same manufacturer (http://www.directindustry.com/prod/asm-automation-sensorik-messtechnik-gmbh/product-7141-1332131.htm...) and I need to change their node IDs.
I do have PCI 8531 installed on my computer.
Cheers,