10-23-2021 11:20 AM
Hello,
I need to write a code for laser beam raster scan in both x and y direction. The two AO channel code is ready. but I don't know how to synchronize the AI acquisition that AI will know in which AI sample represents the start of next line of scan. As the two AO controlling the beam scan in both x and y direction, the region corresponding to the signal acquired would be an image if the AI is well synchronized. Could you help me about the code of AI synchronizing with daq assistant?
Thank you very much
10-23-2021
01:33 PM
- last edited on
09-04-2025
02:51 PM
by
Content Cleaner
Good basics article - https://www.ni.com/en-us/innovations/white-papers/12/synchronization-basics.html
No - you cannot achieve synchronization using the DAQ Assistant, it is too limited and basic to achieve your need.
To synchronize AI and AO you definitely need to learn DAQmx and use it to program.
(Please skip the DAQ assistant section)
This is a good example for synchronization (Help>>Find Examples)
BTW, you did not mention the hardware you are using, some instruments may not be able to synchronize.
10-23-2021 02:47 PM
Thank you, Santhosh! let me have a look at the codes in the link. My card is PCIe-6363. The synchronizing is the first step and then I need to tell the AI about the different lines that one scan controlled by AO. Are there any good solutions?
Thank you