LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

All acquisitions wait for digital trigger, why?

On one computer I have 2 eseries 6023 daq boards installed. One for a digital triggered acquisition, and the other for a continuous (chart recorder type) acq. When running the two seperate VI's, why does the the cont. acq. VI wait for the trigger on the other VI? Appreciate any help.
0 Kudos
Message 1 of 3
(2,613 Views)
> On one computer I have 2 eseries 6023 daq boards installed. One for a
> digital triggered acquisition, and the other for a continuous (chart
> recorder type) acq. When running the two seperate VI's, why does the
> the cont. acq. VI wait for the trigger on the other VI? Appreciate
> any help.

This is because both tasks go through the same driver, and even if they
didn't, they are both loaded into the same OS and could easily affect
one another unless everything is done asynchronously.

Greg McKaskle
0 Kudos
Message 2 of 3
(2,613 Views)
Hi digger,

AI Read.vi waits until the samples are in the buffer.
Do following: Call AI Read.vi with 0 scans to read. Look in scan backlog output if any samples are available. If there are samples waiting call AI Read.vi with this output contected to the input scans to read otherwise do nothing.
This prevents AI Read.vi from waiting until samples are in the buffer.

Waldemar
Waldemar

Using 7.1.1, 8.5.1, 8.6.1, 2009 on XP and RT
Don't forget to give Kudos to good answers and/or questions
0 Kudos
Message 3 of 3
(2,613 Views)