LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

synchronizing analog data acquisition with analog waveform generation

I'm attempting to synchronize analog data acquisition with analog waveform generation, using LabView and an AT-MIO-16E-1 board, so far with no luck. I'm trying to use the instructions provided with the user manual (using the PFI5 line) but unsuccessfully so far. The examples provided with LabView were not helpful since they either use external triggering or are not applicable in my case. Does anyone have any suggestions?

Thanks,
Jon.
0 Kudos
Message 1 of 2
(2,690 Views)
Hi Jon,

This is an excerpt and attachment from NI's example program database. The actual simultaneous input output llb is attached below.

It contains three VIs, all of which perform continuous data acquisition and continuous waveform generation on one board simultaneously, with no extra external connections. They are described below:

1) Simul AI AO Buffered SW Trigger.vi
This VI starts the analog input (AI) and analog output (AO) operations at the same time, with a software trigger. The VI calls AO Trigger and Gate Config to configure the analog output to trigger on the internally-generated AI Start Trigger signal. While both operations start at the same time, the clocks that control data acquisition and waveform generation are not synchronized, and can be r
un at different rates.

2) Simul AI AO Same Clocks (PFI5).vi
This VI uses Advanced Analog Input VIs and the Route Signal VI to configure the AI scan clock to use the AO update clock signal as a source (via PFI5). Both AI and AO will begin at the same time, and will use the same clock to control the scan rate and the update rate.

3) Simul AI AO Same Clocks (PFI7).vi
This VI accomplishes much the same thing as the "PFI5" example, except that here the scan clock drives the AO update clock. The VI uses Advanced Analog Output VIs and Route Signal VI to configure the AO update clock to use the AI Start Scan signal as a source (via PFI7).

I hope this helps

Good luck,

Steve
Message 2 of 2
(2,690 Views)