Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

parallel SCXI calls

What I would like to do is start a 30 second buffered acquisition on an SCXI-1120 channel, and while the acquisition is happening, toggel a channel of an SCXI-1163R. When I try to code for parallel execution, the switching 'waits' until the data acquisition has completed. I need the DAQ to start first, and I need the switch to toggle within the window of 30 seconds, not following it. Is this doable?
Lawrence M. David Jr.
Certified LabVIEW Architect
cell: 516.819.9711
http://www.aleconsultants.com
larry@aleconsultants.com
0 Kudos
Message 1 of 3
(2,510 Views)
Greetings,

Yes, you can do this. They key is to make your analog input acquisition asynchronous. Thus, "AI Read.vi" will not "block" your other calls to the NI-DAQ driver. You should examine "Acquire N Scans - Async Occurrence.vi". This example is installed with LabVIEW and demonstrates how to program an asynchronous acquisition.

Good luck with your application.

Spencer S.
Message 2 of 3
(2,510 Views)
Thanx
exactly what I needed

lmd2
Lawrence M. David Jr.
Certified LabVIEW Architect
cell: 516.819.9711
http://www.aleconsultants.com
larry@aleconsultants.com
0 Kudos
Message 3 of 3
(2,510 Views)