LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Separating and passing data from DAQ card

Hi there, I need to sample several analog voltage channels at once, but am limited by the DAQ card I have (M-series NI-6224), which only lets one task access the read mechanism at one time. I'm now trying to 'fake' this functionality in Labview.
 
My problem is easier explained with the use of a VI, so I've attached one to this message which shows what I'm trying to do.
 
I'm sure there is an easy way to solve this (somehow grasping the data coming in, putting it in an array, then splitting it), but I can't figure out how to put this into practice. Any help would be hugely appreciated.

Thanks,

Chris.
 
0 Kudos
Message 1 of 2
(2,137 Views)
Why does it need to be in a separate VI?

You might try this <attached>

The depending on how important the EXACT time of the button push is, you can change the number going to the read.  The case statement will have to get more complicated to allow for queuing up the data in each loop.  Either way, this is a start.

~milq
0 Kudos
Message 2 of 2
(2,129 Views)