I'm using the following hw/sw:
USB-6008, NI-DAQmx 7.5, VC++ 6.0
I created two AI tasks: the first to measure an indoor temp (with a LM35
followed from an amplifier based on a 1/2 LM358 that scale to 0..2.5V),
the second to measure an outdoor temp. (AD590 a 1k resistor and an
amplifier with LM358 to scale to 0..2.5V);
then I created two AIVoltageChan (with DAQmxCreateAIVoltageChan) each
associated with a task previously created.
Finally, I read (with DAQmxReadAnalogScalarF64) the voltage of each task
to print through a printf.
The issue is that the first task runs with no problem, temperature is
displayed right, but the second one got an error, print
-925596313493178310000000000...0000 !!!)
I checked source seems to be all ok.
Where I'm mistaking?? Thanks in advance