06-22-2022 11:42 AM - edited 06-22-2022 12:04 PM
Hi,
I am a bit new to using myRIO and LabVIEW and currently I'm trying to use VIs from maxon to control an EPOS4 DC motor with LabVIEW. To do this I am using myRIO-1900 where the idea is that myRIO will communicate with the controller to the DC motor via CANopen.
When I try to use a VI called "Example_demo" which comes from maxon's website and is used to rotate the motor to a certain position, I get the following error message.
As I understand it and what I have read here on NI, the reason is that my PC uses the Windows operating system while myRIO uses Linux and has a different format of the file EposCMD.dll, as I understood it Linux uses the format .so instead.
From previous posts I have also read that using CAN as communication protocol makes things even more difficult.
If anyone has experienced the same problem and found a solution and can give me some advices to solve this I would be very grateful.
06-26-2022 05:59 AM
Another problem I have is when I run VIs that stratoms provides to read/write data to the X-CAN interface is that after I read the instructions and follow them and then run the VI called RT_main I get the attached error message.
To me this is very meaningless as it basically just says: "Something is wrong", therefore I wonder if anyone else has the same experience and if so how the problem was solved?
06-26-2022 03:46 PM
06-26-2022 04:07 PM
Hi Antje,
@antje668 wrote:From previous posts I have also read that using CAN as communication protocol makes things even more difficult.
You just need to learn the basics of that communication protocol - as you need to with any other communication protocol!
Yes, there is quite a lot to learn for CAN, and later on for CANopen too, but as a benefit most motor controllers use the very same protocol: when you mastered the first controller you can "bind them all"...
(I admit it took me a year or two from very start with CAN to handle different CAN devices easily.)