LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

multichannel on PCI 6036E

Hi all,

i'm developing a program through labview7.1, in my program i need to do some data acquisition. But my problem is i can't found any build in function in DAQ to support multichannel. can anyone help for this? (hope can get both of traditional and mx method)

with regard
Jaxx
0 Kudos
Message 1 of 11
(3,233 Views)
Hi Jaxx,
To do a simple multi-channel data aquisition have a look at the express daq vi. It's very easy to configure and you can look at the block diagram of the express vi to see how it was configured.
Otherwise, have a look at the shipped examples for data aquisition. To perform daq on multiple channels, use a colon (: ) to specify a range of channels e.g. Dev1/ai0:dev1/ai2 to perform daq from ch0 to ch2.
Or use a comma (,) to specify particular channels e.g. Dev1/ai0,Dev1/ai2 to perform daq only on ch0 and ch2.

Message Edited by DavidT on 04-11-2005 02:50 PM

Message Edited by DavidT on 04-11-2005 02:50 PM

0 Kudos
Message 2 of 11
(3,233 Views)
Hi, DavidT

Can direct me to the way for the express DAQ? because i can't get that in my labVIEW.

One more question, is it "AI Acquire Waveforms" got multichannel function? Beside the program, is it I need to adjust any setting else?

wih regard
Jaxx
0 Kudos
Message 3 of 11
(3,224 Views)
Jaxx,
Take a look at the attached example. The default values will acquire data from analog input channels 0, 1, 2, and 3. The program assumes that your 6036E is "Dev1". You can check the device name in Measurement & Automation Explorer. I found this program in LabVIEW by going to Help>>Find Examples, then navigating to Hardware Input and Output>>DAQmx>>Analog Measurements>>Voltage.
-Alan A.
0 Kudos
Message 4 of 11
(3,214 Views)
HI... Alan A,

Thanks for your help, that is useful for me 🙂

with regard
Jaxx
0 Kudos
Message 5 of 11
(3,207 Views)
HI, Alan and all expert here...

I got another question here, from the VI that Alan post i found something that I can't understand....

Here is the question... "Got any method to make the VI(the Alan attached) loop infinity? what I mean is include the DAQmx Create Virtual Channel, Timing, and Start Task. I had tried to placing a while loop around the entire VI, but it made the signals un-continuous while display on the waveform graph."

Got any idea about this?

best regard
Jaxx
using labVIEW 7.1 on winXP
0 Kudos
Message 6 of 11
(3,178 Views)
The program already loops continuously until you hit the stop button. If you are trying to configure task information, like channels, timing, etc., you can not do that "on the fly". So if you want to change a task parameter, you will have discontinuities.
-Alan A.
0 Kudos
Message 7 of 11
(3,161 Views)
I see... thanks for your reply Alan.

with regard
Jaxx
0 Kudos
Message 8 of 11
(3,155 Views)
So, that mean I cannot change my channel while the VI running?

Best regard
Jaxx
0 Kudos
Message 9 of 11
(3,146 Views)
That is correct. You can not change what channels to acquire from while the task is running. However, you could always just acquire from all the channels you are interested in, and then display certain channels at certain times (maybe based on a condition and a case structure).
-Alan A.
0 Kudos
Message 10 of 11
(3,127 Views)