12-16-2005 02:20 PM
12-19-2005 10:01 AM
12-19-2005 10:36 AM
12-19-2005 10:43 AM
11-19-2012 05:19 AM
Hi. I'm using PCI- 6221.
I need to measure simultaneously 6 AI (3x voltage, 3x current) and show them in one plot. I have made application in LabView for 1 voltage measure and it's ok. Now i'm trying to do it with at least 2 measures and doesn't work.
I will appreciate with any help.
in attachment my example with 1 channel measurement and 'try' with 2 channels.
11-21-2012 07:25 AM
Does PCI-6221 can do simultaneous measures of Analog Inputs? I researched the forum and documentations and many devices cannot do that, unfortunately my card neither... or am i wrong?
how should look the program to synchronize many measures? and further... how to present them on one graph?
pleeease! help me.
11-21-2012 09:39 AM
I can't open either of your VIs. Reattach please.
In any case, your task is pretty basic. You want to have a single task with mulitple channels. The DAQ Assistant can do this or just use the low level DAQmx functions. You would have a DAQmx Create Channel for the 3 voltage channels and one for the current channels. A single DAQmx Read output would be wired to a graph to show all channels. Take a look at some of the shipping examples. You just need to insert the extra Create Channel.
11-21-2012 09:55 AM
Sorry for broken attachment. hope this one is ok.
Thanks for reply. I don't want to use Daq Express cause i need to change freq during the measurement.
11-21-2012 02:22 PM
You have two separate tasks and that is not allowed. Simply add the second Create Channel (current) that you have into the first task i.e. right after the one you have labeled for voltage. You would have a single DAQmx Read and you obviously need to change the type to NChannels.
The DAQ Assistant is just as capable of changing the number of samples as your code. It is not frequency that you are changing. Frequency would be related to sample rate.