LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to get 2 simultaneous AI chans?

I need to have two seperate inputs, untriggered, but both reading at the same time, because what im going to do is to mix the signals together, but they need to be taken at the same time, how would I go about doing this?

iNFO:
pxi6025E
Win XP Pro
Labview 7
0 Kudos
Message 1 of 4
(2,722 Views)
Hi,
In your case, I often use the "AI Config.vi" or "AI Group Config.vi" at the beginning of the application. Then, a while loop enables you to process the data using "AI Buffer Read.vi" for example. Don't forget to use the "AI Clear.vi" when your application finishes.

I've attached a VI that illustrates what I've just said.

Hope this helps !
Julien
0 Kudos
Message 2 of 4
(2,722 Views)
Hi,

E Series DAQ cards do not support simultaneous sampling, they use a multiplexed operation (channels are scanned one after the other and the maximum sampling rate is divided amongst the configured channels to sample). To sample two channels at exactly the same time you need a S series or DSA card.

You can find example programs for acquiring data from your DAQ device at:

Hardware Input and Output >> DAQmx or Traditional DAQ

In the Help >> Find Examples menu item.

Good luck!
0 Kudos
Message 3 of 4
(2,722 Views)
You can add the SC-2040 before the 6025 to get simultaneous sampling.

"BiG-C" wrote in message
news:506500000005000000407E0100-1079395200000@exchange.ni.com...
> Hi,
>
> E Series DAQ cards do not support simultaneous sampling, they use a
> multiplexed operation (channels are scanned one after the other and
> the maximum sampling rate is divided amongst the configured channels
> to sample). To sample two channels at exactly the same time you need a
> S series or DSA card.
>
> You can find example programs for acquiring data from your DAQ device
> at:
>
> Hardware Input and Output >> DAQmx or Traditional DAQ
>
> In the Help >> Find Examples menu item.
>
> Good luck!
0 Kudos
Message 4 of 4
(2,722 Views)