LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

simultaneous read/write to file values from a DAQ and a GPIB device

Dear Members of this Group,

I would like to ask how I can simultaneous read/write to file values
from a DAQ and a GPIB device.

The case is the following:

>From one side I have a KEITHLEY -DMM 2002 with a ΚUSB-488(GPIB) for PC
connection with a standard GPIB read/write vi that writes values in a
file.
And from the another side I have a DAQpad (Firewire) that I use to
record analog inputs via the "continuous acq to spreadsheet file.vi "

What I need:
To have one final spreadsheet file with combined values from the DAQ
and the GPIB.

Hints:
GPIB sampling rate is very slow... 2 Hz.

Thanks in advance.

0 Kudos
Message 1 of 2
(2,434 Views)
I would have three parallel loops. One for each of the data generating devices and the third for writing to the file. Pass the data via queues. Do all the formatting and synchronizing in the third loop. Look at the Producer/Consumer design pattern templates that come with LV.

Lynn
0 Kudos
Message 2 of 2
(2,432 Views)