LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

can I get four inputs voltage reading from four sources at a time from NI USB 6009 DAQ

I had a photoquadrant detector with four quadrants . each quadrant have a positive lead.  If i connect each lead to the DAQ's a0, a1, a2, a3 terminals and common ground to one of the ground of DAQ. Is it able to read four voltages from four quadrants at a time . And how to take the data through labview. In the manuals it's not shown can you provide me an example program.when i configure daq i'am selecting acquire signals--->analog input--> selecting a0,a1,a2,a3---> then configuring each channel with voltage limits all. then ok. Afetr that on the DAQ VI how can I read these four values. Is it by giving add inputs and put number indicator to each data like that or any other way is there. If you help me it's a kind job

0 Kudos
Message 1 of 12
(3,272 Views)

Use the DAQmx Read.  Choose a polymorphic case of N channels.  It is up to you whether you want multiple samples as a array, multiple samples as waveforms, or single samples.  The multiple samples as an array will give you a 2D array, the rows being the channel.  The other options will give you an array, an index for each channel.



There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 2 of 12
(3,260 Views)

the requirements is that four channels to be read at a time. Is it possible with this daq card..

 

 

regards

DevanarayananVP

0 Kudos
Message 3 of 12
(3,230 Views)

Yes.  Crossrulz was tell you how to do that.

0 Kudos
Message 4 of 12
(3,220 Views)
Yes, you can read all channels though it will not be truly simultaneous with most DAQ devices. You haven't provided the device you are actually using.
0 Kudos
Message 5 of 12
(3,218 Views)
Sorry, you did say 6009 in the subject. That is not a simultaneous sampling device. There will be a brief delay between samples.
0 Kudos
Message 6 of 12
(3,214 Views)

Thank you for your reply, but if I need to see each sample reading individually as numerals. What I have to do. If possible please sent a sample program

0 Kudos
Message 7 of 12
(3,172 Views)

Sounds like you need to acquire 1 Sample from multiple channels.  You will then get an array output.  You can index the array for each individual channel.



There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 8 of 12
(3,159 Views)

i need the voltage values from each channel individually. That is my requirement. please provide  a method and if possible please send a sample code

0 Kudos
Message 9 of 12
(3,140 Views)
You keep saying the exact same thing. You've been told how to generically do this. If you would provide your code, it would be simple to give specific instructions. We have no idea what type of DAQmx Read you are using or if you are using the DAQ Assistant.
0 Kudos
Message 10 of 12
(3,136 Views)