LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Read multiple channels

I am trying to read more than one analog input at the same time from a E series PC60134 DAQ card. It only has one DMA channel which I understand means only one channel can be sent to the computer at a time using a DMA methodology. Is there anyother way to pass the data which allow simultaneous reading. Or am being too ambitous?
0 Kudos
Message 1 of 4
(2,584 Views)
Assuming that you're using DAQmx, all you have to do is specify multiple channels for the DAQmx Create Channel function. For reading channels 0 and 1, use Dev1/ai0:1. For channels 0 through 4, use Dev1/ai0:4. If your board is really a 6034 (there is no 60134), you don't have true simultaneous sampling. There is a single A/D and all of the individual channels are multiplexed or switched to the A/D in the scan order you specify.
0 Kudos
Message 2 of 4
(2,582 Views)
My mistake it is the 6014 E series card small typo. Thanks for the help.
Just to check that I have understood right, say I have two separate channels for which I was taking a number of samples each time it was called. Would the computer go to each channel in turn and take the full number of samples before moving on to the next channel. Or would it take a sample from each channel and cycle round until all samples are taken.
0 Kudos
Message 3 of 4
(2,570 Views)
It would take a sample from each channel. You might want to check Data Acquisition Fundamentals.
0 Kudos
Message 4 of 4
(2,559 Views)