Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Galvo moving

Hi all,

      I want to change the galvo moving pattern. In the original code, the galvo moves from left to right.After x axis moving finished, y axis move one unit,and x axis moves from right to left.Like Pictrue 1. I want to it move in this way, after x axis moving is done, the y will move one unit which in the left hand instead of right hand like Picture 2. Here is the picture and code.

     

Download All
0 Kudos
Message 1 of 2
(2,953 Views)

When you reach the end of one row, do not change from increment to decrement on X. Reset X to the intial value (-20) and increment again. 

 

When I place a False constant at the Selector input in the inner for loop it appears to do what you want. If that is what you want, you can either remove the selector and the unused code or leave it there as a Scan Direction input.

 

Lynn

0 Kudos
Message 2 of 2
(2,944 Views)