LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

thorlabs activeX running question

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.

0 Kudos
Message 1 of 2
(2,310 Views)

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.

Adnan Zafar
Certified LabVIEW Architect
Coleman Technologies
Message 2 of 2
(2,308 Views)