08-16-2013 02:17 PM
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.
08-19-2013 11:51 AM
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!
08-19-2013 12:54 PM
Thank you Emily. The links you gave are really helpful to get a better idea on my problem.cheers!!