04-13-2014 03:19 PM
A basic state machine should be perfect for this. Here is a basic outline of a basic state machine that you should be able to use. I didn't add in any Arduino code.
Also, Zahkay's issue is that he is using a stepper driver that is not natively supported by LIFA.
04-13-2014 03:45 PM
@atulchemistry
yeah i did that. can u tell me for the acceleration and the stepper down in the VI what did u put. Because when i did upload the coding of LIFA, it just move and then stop. can i see how u edit your LIFA coding for stepper if you dont mind.. I even can upload my LIFA coding and you may check. Because for u atleast it is working yeah.
04-13-2014 03:48 PM
@ Nathan_B
Dear Sir,
thank you for replying.
i am trying to open the VI, but some icons are missing.
Sir if in this case which driver should we use so that it is compatible with the LIFA
04-13-2014 04:01 PM
Most of the posts here that I have seen use the EasyDriver. This requires no modifications to LIFA because it is natively supported.
04-13-2014 06:05 PM
Many many thanks Nathan_B for the reply... Today I learned making using of state machines in another way !!
@Zahkay yes i am using EasyDriver as Nathan_B mentioned... i think that might be the difference
04-14-2014 04:55 AM
Okay sir
which easy driver should i buy.
I dont have any idea about it.
04-14-2014 04:57 AM
I thnk i will buy the easy driver also. which one do u have
Can you please tell me the specification you put for it to make it work. Like
for the acceleration and in the stepper.
Hope to hear from you soon
thanks
04-14-2014 05:20 AM
This is one https://www.sparkfun.com/products/10267
Stepper # 1
Accelration 0
Speed (Steps per sec) 9
Steps to move 9
ofcourse these parameters can be customized to your needs and shouldnt affect your Labview
04-14-2014 05:22 AM
Okay i will try and see
thank you very much
04-25-2014 03:28 PM
Hello Nathan_B
i am having a bit of trouble while operating th Stepper Motor example VI which i think i overlooked about motor functioning.
I noticed that with the default stepper motor example (https://decibel.ni.com/content/docs/DOC-20084/version/1) when i run the VI and click the start stepping button nothing happens untill i change the value in "Stepper #" field (http://postimg.org/image/5vmwy3n8d/) .
Once i change that value to any number motor starts functioning and takes the stepping command. Also, interstingly if i switch back to the value with which i started VI it doesnt work.
And this is affecting the VI functions of fraction collector which i built up from your valuable help.
Any idea about this behaviour ? am i missing some part ?
Thanks in advance