Motion Control and Motor Drives

cancel
Showing results for 
Search instead for 
Did you mean: 

labview code

Problem Description :
I am trying to run two motors using motion assistant .What step should
I add in the motion assistant?I am using PCI 7342 and servo motor drive.
After generating the code from labview I want to create a GUI in
labview for controlling the two motors.As I am new to motion assistant It would be
of great help if u can provide me with some examples .thanks in advance
linneaus

NI Software : LabVIEW version 7.1
NI Hardware : Motion Control device PCI-7342
Driver Version : 6.1.2
OS : Windows XP
0 Kudos
Message 1 of 5
(3,744 Views)
Could you give us a little more information?
What are you tring to do with the servo motors?
Are they part of an X-Y system or are they just two separate motors?
Are you trying to get single straight-line moves or do you need them to blend together?

Some more information would be helpful.

Thanks,
Bob
0 Kudos
Message 2 of 5
(3,739 Views)
Hi Bob
I have two servo motors which has to drive two wheels.The motor is in a static position and needs to rotate in revolutions .I need to control the rotation of these two motors using Motion Assistant and then generate the code in labview.When I use arc move I get a code in labview for it but I want to generate a GUI for two motors.HOw do I do it ?Should I use subvi concept for using two motors?
thanx
Linneaus
0 Kudos
Message 3 of 5
(3,736 Views)
Keep in mind that I am pretty new to Motion Control myself, but I have been using LabVIEW for years. I think that it would be best that you create a simple move and get the VI for that working. You can then build a GUI for your application and use the VI you just created as a subVI in the GUI's VI. I would like to suggest that you start with a state machine design pattern. Most motion applications lend themselves well to state machines. I think that if you have any more questions, the LabVIEW message board would be a better choice because it sounds like you already have the basics of moving down but need more help with the LabVIEW side of things.

Hope that this helps,
Bob
0 Kudos
Message 4 of 5
(3,730 Views)
Hi Linneaus,

You should be able to get started pretty easily by creating a script in Motion Assistant. Just select what kind of move you are trying to make, and then set the relevant parameters.

If you are looking for Labview code to start with, I would try searching through NI's Example Programs.

Hope this helps,

Robert
0 Kudos
Message 5 of 5
(3,707 Views)