From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
01-30-2012 02:01 AM
Solved! Go to Solution.
01-30-2012 04:03 PM
I would create a new VI using the Standard State Machine template. From there you can add cases to the case structure that include event structures to handle user changes of wafer position. More cases can be added for different test scenarious. If you are using stepper motors with a NI DAQ device I would control them with counter output tasks using DAQmx functions. If you calibrate your stepper motors you can have the user enter a new xy position to trigger a counter output task to output a finite number of pulses to move the stepper motor to where you would like.
Brian
01-31-2012 01:03 AM
Thanks Brian.
My problem is more regarding the flow of measurement,
I would like it to be automatic meaning, the user points on the first (Home) sensor, gives the distance to the next sensor and then, the program do the movement to each sensor .
The most problem is that I dont know what is the exact number of sensors in the outer region of the square I defined. In details, according to the attached 'map' num1 is Home. I know the distance in X and Y to the sensors in the orange sqare but I dont know how many sensors are out of this square. Any suggestions?
01-31-2012 01:18 PM
The only way I can think to do it would be to have two reference points. One would have to be the either the exact center of the wafer, or where the edge of the wafer exactly crosses the x or y axis. The other would be the x-y position of the outermost sensor on the wafer with R_max = sqrt(x_max^2+y_max^2). From there create a 2d x-y array of sensors that lie within the larger 2R x 2R square that exactly encloses the entire wafer. Use a nested for loop structure that includes every point within the larger 2R x 2R square. Inside of the loops use a case structure check wether the sensor position is within the bounds R <= R_max, and only move to sensors that satisfy the condition.
Brian