10-14-2009 07:12 AM
Solved! Go to Solution.
10-14-2009 07:32 AM
You would perform all measurements in the same task. Look up the DAQmx help for 'Physikalischer Kanal', you can name it like ai0:2 to measure ai0, ai1, ai2.
Felix
10-14-2009 07:42 AM
10-14-2009 07:53 AM
The front panel control 'Physikalischer Kanal' is something like 'dev1/ai0'. Try to use 'dev1/ai0:2'. The rest is already set up for multi-channel measurement.
Felix
10-14-2009 08:03 AM
But the programme I've posted within the picture does work!
I tried to copy all what you can see there in order to create another channel and set the physical channnel to another one.
Sorry, but I can't catch what you mean!
10-14-2009 08:11 AM
Well, you just have a single hardware in your system. To go more into detail, if you use an M-Series DAQ you have a single ADC with a multiplexer on the input side. So the driver layer needs to lock your copied code. I tried to explain you, who to do it the right way: Only one task (because only one device) but set it up for multichannel measurement.
Felix
10-14-2009 08:16 AM
Ah okay. See what you mean now. Thanks.
But if I change the physical channels to "ai0:2", I receive a new mistake: "Fehler 50405 - Es findet keine Übertragung stat,..."
Arrrgh!! What's happening now?
10-14-2009 08:38 AM
10-14-2009 12:26 PM
Glückwunsch.
Felix