Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

How can i control a stepper motor with labview and NI DAQ

Hi im trying to control a unipolar stepper motor, 12.9V .28A per phase i would like to control it through the NI DAQ and Labview

i have a basic circuit like the one that comes here

http://www.8051projects.net/stepper-motor-interfacing/programming-microcontroller.php

 

it comes that you can control it with the parallel port, but the computer i have with the labview doesnt haver a parallel port.

I would like to know if its posible to control it with direct with the labview and the NI DAQ?

 

Hola estoy tratando de controlar un motor unipolar, de 12,9V 0,28A por fase, me gustaria saber si es posible controlarlo por NI DQA y Labview, me gustaria hacer el circuito como viene en la sieguiente liga

http://www.8051projects.net/stepper-motor-interfacing/programming-microcontroller.php

 

viene que se puede controlar por medio del puerto paralelo, pero la computadora donde tengo el labview instalado no cuenta con este, por lo que queria saber si es posible hacer esta funcion o simplemente el contrl directo desde el Labvies y el NIDAQ?

 

0 Kudos
Message 1 of 6
(6,293 Views)

If you had a printer port, would you know how to control the motor or not?

Because adding a parallel port to a PC just costs a few bucks while finding another hardware solution costs much more.

0 Kudos
Message 2 of 6
(6,286 Views)

Hi,

 

I would consider buying yourself a NI USB-6008 lowcost multifunctions DAQ device.

http://sine.ni.com/nips/cds/view/p/lang/en/nid/201986

 

This gives you a fully NI-DAQmx supported device that allows you to control your stepper motor, but is also ready for future changes in your applications.

For example if you would like to add additional sensors and/or actuators to your system.

 

If you search the web you will find plenty of examples with USB-6008 connected with stepper motors and other devices.

 

regards,

adigator

0 Kudos
Message 3 of 6
(6,272 Views)

I do not recommend the USB-6008/6009 devices for stepper motor control because they have software timed digital outputs and will not give smooth control of the stepper motor at speeds above a few tens of pulses per second.  They are only sutiable if you want to simply demonstrate the concept or will always be operating at very low speeds.

 

Lynn

0 Kudos
Message 4 of 6
(6,265 Views)

I want to test stepper motor and sensor efficiency in my product . I cant able to use DAQ. Is it possible to use ARM Cortex M3 controller to act as DAQ for interface with labview? .Please guide me

0 Kudos
Message 5 of 6
(4,556 Views)
You will have to write the code for the ARM device yourself, and not with LabVIEW. Assuming you can do this, give the device an interface to your computer, a serial port for example, and communicate to it from LabVIEW.
0 Kudos
Message 6 of 6
(4,510 Views)