05-05-2017 03:47 AM
Hello, everyone!
I just began an internship and I'm terribly new to LabVIEW, I have to implement a VI able to control the position of a DC motor (AKM12E) and to chose between different kinds of control loops even if for now I would just be glad if I could get a PI to work.
The main problem I have is that I have no idea how to communicate with the motor through LabVIEW.
I got one example to work but it's some kind of black box using the straight-line move module and I can't modify it to do what I really want.
I tried to replicate the content of this module but failed twice.
I also tried using the DAQ assistant but I can't find the device I'm trying to communicate with.
I would gladly show you guys some screenshots of the project but I don't have access to the lab this morning, maybe this afternoon. I hope you can help me out because it's been a week I've been trying to move this motor without the example and I've tried so many different ways I have no idea which one is supposed to work.
Thank you very much!
05-05-2017 04:11 AM
How did you establish communication between cRIO and the corresponding motor?
Did you try to find your device through NI MAX?
Did you get any response from the motor when you run the Example VI given to you?
05-05-2017 04:18 AM
Thank you for your answer!
The cRIO is connected to the motor through a NI9514 motor drive, which is connected to a power supply, and a Kollmorgen AKD, which in turn is connected to the motor both by a power cable and a feedback cable.
I have not yet tried to find it using NI MAX, I will make sure to do so this afternoon when I will have access to the lab.
Yes, the Example VI is successfully commanding the motor but I have no idea how.
05-05-2017 04:23 AM
They made it most propably via VISA connection. You better watch some videos which shows how to connect a device through NI MAX. Because there are some small procedures to be followed before succesfully establishling the connection. Eventhough you tried and couldn't succeed than type in here again. Surely some one will guide you.
05-05-2017 04:28 AM
Thank you very much for your help! Back to work!
05-18-2017 01:47 AM
Okay so, after a few days getting up close and personal with the system I have found out that the reason why I couldn't use a DAQ Assistant to retrieve data from the motor is because it is not directly connected to the computer, it is connected to the computer with an ethernet wire through a router.
The cRIO displays in MAX under the Remote Systems category, and I have no idea how to get data from a remote system, any help?