09-04-2011 08:08 AM
I am using Thorlabs rotation stage for rotated scanning. I wrote a vi program for stage control. It should rotate and stop for a while, and then rotate again. I use while loop to achieve this. However, it didn't run properly. It worked fine when "highlight execution" was on. Attached is the vi I got. Could anyone give me some suggestions? Thank you.
09-04-2011 08:25 AM
If it's working fine with highlight execution then I am assuming that the entire process needs to slow down since the software might not be ready to execute the next command being sent while executing the current command. Try putting Wait's in between each command and try to catch the one that might be causing issues.