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.

Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

does analog output and analog input use th same buffer

hi,
I would like to know if the AO write and AI read use the same buffer.I am using PCI6052E card with FIFO buffer of 2048 samples.I am performing a simulataneous AI and AO based on external trigger on PFI0.every time I do an AO write the AI read seems to be blocked.what could be the problem ?
thanks,

Shiv
Download All
0 Kudos
Message 1 of 2
(2,994 Views)
Hello;

Each DAQ task has its own FIFO, meaning that the AI has one FIFO, and the AO has another.

The problem is probably happening because you are using synchronous VIs to do the Analog Input. So, the CPU execution pointer get stuck inside the AI Read.VI untill the AI buffer is ready to be retrived. That might cause some synchronization problems.

The way to have that fixed is to use asynchronous VIs to do the AI side of your application. You can find some Labview shipping examples on how to do that at Analog Input->DAQ Occurrences.

Hope this helps.
Filipe A.
Applications Engineer
National Instruments
0 Kudos
Message 2 of 2
(2,994 Views)