Motion Control and Motor Drives

cancel
Showing results for 
Search instead for 
Did you mean: 

multiple stepper motor control- LIFA

Hi guys,

I'm using labVIEW interface for arduino (LIFA) to run two stepper motors simultaneously. I'm using a slightly modified VI from the LIFA example. However, I cannot get them to run together. When I command the second stepper while the first is running, the first motor stops abrptly and the second one starts running. I've tried using stepper commands for each motor in separate event structures and the same event structure. but so far with no success. I don't have a lot of experience with labVIEW or LIFA so could someone please give any helpful idea on this. Thanks in advance.

0 Kudos
Message 1 of 3
(6,200 Views)

Hi mudithadias,

 

The Arduino Discussion forum will probably be the best way for you to get assistance with your application specific to Arduino VI's. In case you haven't already seen it:

https://decibel.ni.com/content/groups/labview-interface-for-arduino?view=discussions

 

This community already has some discussions regarding using two motors at once. It looks like you'll need to interleave the two motors to make sure they're both being controlled at the same time. This discussion has some example code:

https://decibel.ni.com/content/thread/13582

 

This discussion also mentions some subVIs that can be used to control two motors at once:

https://decibel.ni.com/content/message/33119#33119

 

I hope this helps!

Emily C
Applications Engineer
National Instruments
0 Kudos
Message 2 of 3
(6,181 Views)

Thank you Emily. The links you gave are really helpful to get a better idea on my problem.cheers!!

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