LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I coordinate x-y motorized stages and AI Read to occur at same time?

I am trying to scan an object and measure its reflectance. The return light is sent to an analog input and taken in by AI Read. The object is being moved under a scanner by two Melles Griot stepper stage and run by pre-made programs. The two functions aer placed in parallel. However, it appears that my program moves the stage and then collects data from AI Read. I want AI to be collecting data WHILE the stages are moving.
0 Kudos
Message 1 of 2
(2,579 Views)
Hi,

Have you considered using triggered analog input acquisition -- you can set the trigger so that data collection starts when the stage moves. Can you attach a piece of code so that readers can check it out -- do you have the analog code running in a seperate While loop?

Regards,
RamziH.
0 Kudos
Message 2 of 2
(2,579 Views)