08-09-2008 08:50 PM
Solved! Go to Solution.
08-10-2008 02:24 PM - edited 08-10-2008 02:29 PM
08-10-2008 02:44 PM
Hi,
I am unable to open the VI that you posted since i am running labview ver 8.0
Is it possible for you to post it again while saving it for a previous version. This can be done from within LabVIEW by navigating to File»Save with Options»Save for Previous or File»Save For Previous Version... starting with LabVIEW 8.0.
Thank You.
08-10-2008 02:46 PM
08-10-2008 04:34 PM
08-10-2008 07:29 PM
08-10-2008 11:11 PM
07-10-2009 07:33 PM
Hi,
I finally figured out a way to do it. The analog sine wave is converted to digital and sampled. Consecutive values are compared and if the least significant bit(LSB) changes then a pulse is sent to the stepper motor to turn one step.
I have included the sub-VI's that accomplish it for the particular stepper motor and connector block i have. The front panel of both sub-VI's are quite messy but the block diagrams should be much clearer. The sub-VI's get their inputs from a third VI which i have not included. So take a look at the VI connector panel to figure it out. Hope this helps. Kinda messy but worked out fine in the end for my application.
Thanks again for all the help. I appreciate it very much.
Regards,
Prabu Sellappan
Graduate Student
Aerospace and Mechanical Enggineering
University of Southern California