Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

visa serial read and usb 6008 read simultaneously

Here is an example of using a producer/consumer design pattern for data acquisition. This example uses DAQmx functions, but it illustrates the architecture and queuing well. The basic idea is that you have a producer loop (top one) that reads in your data as fast as possible and then queues that data up to be passed to the consumer loop were the processing is done; thereby, not slowing down the acquisition.

 

You can also find this pattern by in LabVIEW going to File » New » From Template » Frameworks » Design Patterns » Producer/Consumer Design Pattern (Data).

------------------------------
Bill E. | Applications Engineer | National Instruments
0 Kudos
Message 21 of 22
(748 Views)

This is very clever. Thanks for showing me.

0 Kudos
Message 22 of 22
(741 Views)