From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Controlling a stepper motor with LabVIEW?

I would like to control a stepper motor with LabVIEW 6.1.  Does anyone know if there are any vi's out there that I can download to control a stepper motor?
0 Kudos
Message 1 of 15
(5,699 Views)
I'm not sure I understand what you're asking...  LabVIEW itself cannot control a stepper motor.  It can control the hardware used to control the stepper motor, but not the motor itself...

What hardware are you using to interface between the motor and the computer?
0 Kudos
Message 2 of 15
(5,688 Views)
I am using a DAQPad-6020E.  I figured that LabVIEW would be able to make a "virtual" driver.
0 Kudos
Message 3 of 15
(5,677 Views)
There are many ways to control a stepper motor from labview, but you need a hardware stepper motor controller to communicate with from labview.  The controllers vary greatly depending on the application, could you post more details, ie motor type, resolution speed needed, type of application etc... I have done a few applications which controlled a steppers in the past, where labview served as the motion control and interface to a stepper motor system. 
 
Paul
Paul Falkenstein
Coleman Technologies Inc.
CLA, CPI, AIA-Vision
Labview 4.0- 2013, RT, Vision, FPGA
0 Kudos
Message 4 of 15
(5,679 Views)
Actuator:  Ultra Motion Bug Linear Actuator
                Stepper Motor:  HT23
                Step Resolution:  7200 step/inch
                Pitch:  0.0833 inch/rev
              
0 Kudos
Message 5 of 15
(5,673 Views)
Actuator:  Ultra Motion Bug Linear Actuator
                Stepper Motor:  HT23
                Step Resolution:  7200 step/inch
                Pitch:  0.0833 inch/rev
               
0 Kudos
Message 6 of 15
(5,674 Views)
oops... I clicked tab which jumped the curser to the "Submit Post" accidently.
 
Actuator:  Ultra Motion Bug Linear Actuator
                Stepper Motor:  HT23
                Step Resolution:  7200 step/inch
                Lead Screw Pitch:  0.0833 inch/rev
 
The application it is being used for is the loading and unloading of a test specimen to determine material characteristics.
0 Kudos
Message 7 of 15
(5,670 Views)
See the problem is, you need something to output the pulse train.

Right now I'm using LabVIEW to write an acceptance test for a stepper motor, but I'm using a Galil servo/stepper PCI card in the computer, connected to an Anaheim Automation stepper driver, which outputs the pulse train.

LabVIEW can generate a pulse train, but it has to be able to tell some piece of harware to actually output that signal.  As falkpl was saying, you can use LabVIEW as the interface to something like a stepper driver, but you need the hardware to do the work of outputting the highs and lows.
0 Kudos
Message 8 of 15
(5,668 Views)
I have an Applied Motion Driver (3540i) which I used to use to drive the stepper motor through a program called SI Programmer, although that program has limited options for control.  I figured that labview alone could act as the driver, giving me more options.  I guess I need to have labview "talk" to the driver in some way to control the stepper motor.
0 Kudos
Message 9 of 15
(5,665 Views)
Two ways I had controlled stepper motors in the past is:
1.  The cheaper method: I used a pontech stp100 stepper driver (>$100)- this is a serial communication stepper motion controller, you can send the serial commands to program the motor and communicate with it through labview and VISA.
2.  I controlled many motors from compumotor with their own motor drivers which took a pulse train (each pulse caused a step of the motor) and controlled the steps from a 6602 counter/timer card and labview to provide the logic and user interface to the motors (there was feedback and sensors involved with this project).
Neither was very difficult and both were developed with labview 5.0 and 6.1 so I know you can do control with the software you already have.
Hope this helps some,
Paul
Paul Falkenstein
Coleman Technologies Inc.
CLA, CPI, AIA-Vision
Labview 4.0- 2013, RT, Vision, FPGA
0 Kudos
Message 10 of 15
(5,664 Views)