07-03-2015 03:37 AM - edited 07-03-2015 03:52 AM
bonjour,
Je suis en stage et je suis debutante en labview, je voudrais communiquer avec un EPOS2 50/5 Via un module USB_CAN 8473 j'ai lancé l'exemple "CANOpen Read-Write-Read Demo" (vous trouvez le Vi ci joint) mais ca bloque dans ReadSDO+ et il rentre dans une boucle infinie(voir capture ecran) , là il y a deux jours que je suis bloqué et j'arrive pas a comprendre pourquoi, svp quelq'un peut m'aider ??
Merci d'avance!!
hello,
I am in training and I'm debutante in labview, I would receive Data from a EPOS2 50/5 Via USB_CAN Module 8473, I launched the example "CANOpen Read-Write-Read Demo" (you will find the Vi joint) but it blocks in ReadSDO + and it enters an infinity loop (see screen capture), then there are two days that I'm stuck and I can not understand why, please can someone help me ??
Thank you !! .....
07-03-2015 03:44 AM - edited 07-03-2015 03:45 AM
You should probably attach the subVI instead. (I don't have your toolkit)
(Please use a more informative subject line next time. Almost every post needs help one way or another. Also one exclamation mark is typically sufficient).
07-03-2015 03:57 AM
thank you for your answer, it's done I changed the title,
indeed, I have attached the Vi which I use (you mean the library?)
07-03-2015 10:17 AM
Bonjour.
I notice that the comment says "*NEW* Read SDO", and the missing VI is named "USB_CANopenReadSDO+.vi" -- I'm guessing the "+" is the "New" flag.
Can you attach both USB_CANopenReadSDO+ and USB_CANopenReadSDO for us to study? Have you tried the "original" VI? What were you trying to do with the "+" version?
Bob Schor
07-03-2015 10:47 AM
thank you for your answer
I just try to simulate the VI , i found it there https://decibel.ni.com/content/docs/DOC-4439, but it didn't work 😞
you found attached the librairy where : USB_CANopenReadSDO+ and USB_CANopenReadSDO
07-03-2015 02:31 PM
After looking at the USB_CAN library, I realize that this is well beyond my ability. If noone else can help you here, you might try asking on the more-specialized Automotive and Embedded Systems Forum, found here.
Bob Schor
07-06-2015 11:47 PM
Is there anything special about this particular example?
This is a fairly common device, and you can find helpful information on getting started at the links below:
http://digital.ni.com/public.nsf/allkb/F2F553B7B2E3FC10862572AC0023FCA0
https://decibel.ni.com/content/thread/14857
Additionally, there is an example project in LabVIEW under Help>>Find Examples and search for CAN Open. It's specifically for the EPOS2.
07-07-2015 03:33 AM
I did not need to only command the motor , I need to read data of the motor for a long duration and store them into a document, I have tried to do this with epos library I was able to control the motor but I did not get all data (watch it attached a screen capture that I made) that's why i try too read data with the canopen library ..
07-07-2015 03:58 PM
Did you look at the LabVIEW example that uses CANopen? If that works, then you'll at least have a strong starting point for your application.