05-14-2021 05:31 PM
Hi Everyone,
I am new to LabView, and I am currently writing a program for a translation stage that will move incrementally and delay at each position for a measurement.
I am finished with the program, however, when I run it, I get an error. When I press continue the program proceeds, and the stage moves one step, then the error pops back up again. I have read that maybe I am missing the dependencies, but I have double checked and they are in the same folder as the project and VI.
Below I have attached the error message, block diagram and project folder setup. Any help would be appreciated. Thank you!!!
B
05-14-2021 05:35 PM
Also, I have attached the .vi for the block diagram below. Thanks!
05-14-2021 06:19 PM - edited 05-14-2021 06:19 PM
You need to set your "waitTimeout" input to be a larger number. I would recommend setting it to the time you think the movement should take plus a healthy buffer. Since you have it set to zero, the node returns nearly instantly and your loop starts again before it's done moving, so you get an error saying it's still moving.
A general note... any "1172" error you get doing things with these motion controls comes from them, not from LabVIEW. So you have to look at the error message and figure out what's wrong with how you called the function... it's not usually going to be a "LabVIEW" problem.
05-21-2021 06:52 PM
This worked. Thank you so much!