04-14-2017 03:02 PM
Hello Community,
I am new to using labview, so if this post is in the wrong place I am sorry.
I am using labview to communicate with an arduino-based stepper motor, and I have all the programming completed (pictures attached). However, I need the motor to stop after a certain number of commands. I need this "stop after x steps" to be done through labview, does anyone know how I can set this up?
Thanks,
STM_Chase
04-15-2017 02:27 PM
If you had attached your actual VI, instead of a picture of your VI, we could see more details, and could even return you a slightly edited version ...
Instead of thinking "Stop after N steps", how about thinking "Loop for N steps"? Notice the second word in "Loop for N steps" -- does this make you think of any LabVIEW structure? (Open a LabVIEW Block Diagram, right-click to bring up the Palettes, look in the Structures Palette, the first one, and see if inspiration hits you).
I take it you have not spent time with the "Getting Started with LabVIEW material mentioned on the first page of this Forum. I strongly recommend you spend some time with them -- learning some things before you start coding is always a Good Idea.
Bob Schor