Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Looking for example project for motor control using NI USB 6009

Hi,
I want to control 2 Stepping linear actuators via motor drive board.Anyone has any example code which can control this motor using NI USB 6009 or using  DAQ Card (AT-MIO-16XE-10)?

I am controlling 1 stepper motor  using
DAQ Card (AT-MIO-16XE-10).Is it possible to control another 2 Stepping linear actuators using  the same DAQ Card (AT-MIO-16XE-10),? These motor will run one after one not at a time.I've attached the example code of existing motor.
Thanks
Kabir
Kabir mamun
PhD Student,DCU
mamunk2@gmail.com
www.iward2010.blogspot.com
0 Kudos
Message 1 of 2
(3,499 Views)

Ire,

 

The 6009 has an event counter which is not capable of doing PWM via pulse train generation. The DIO lines are also not capable. You can do this using the two counters on the E series device but in order to change the output pulse train generation you will need to stop the counter, change the pulse spec and then re-start the task again. I have done a simple example in which I use two counters for control of the lamp power and a disturbance.

The missin VI's are purely for schedulling tasks. Just look at the while loop and how I programmatically built the tasks.

Hope this helps.

 

Kind Regards

Steven Bird

Applications Engineer

National Instruments

0 Kudos
Message 2 of 2
(3,474 Views)