Every time I try to run my VI (created an auto-focus mechanism for a PoC device) I need to write down a stepper number and I don't know why. Without changing the COM ports, if I try to run the VI again, I have to find the new stepper number (apparently it changes every time I try to run the VI) and this is a problem because I want this auto-focus mechanism to be fully automated and cheap (that is why I am using an Arduino interface and a cheap stepper motor).

Now, to the question: What is this stepper number and how can I just create a constant or something like that to run my VI without problems?

- I have attached an image of the NI example of an Arduino stepper motor controller VI

- I will be here to add more info if needed

Thanks in advance for your attention!

More Victor Fornasiero de Paiva's questions See All
Similar questions and discussions