Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

measurement problems after calibration of analogous input

Problem: After calibration of an AIChannel not only does the channel not produce calibrated results but all the measuring procedures of other channels of the same task go beserk as well. Either are random values displayed or NationalInstrument.DAQmxExceptions thrown.
 
Background: I implement in C#. For my sensor monitoring software I set up a task with seven analogous input channels. An AnalogMultiChannelReader reads the data and it does so perfectly 🙂 During running time I want to calibrate one of the AIChannels. I stop the reading process by deactivating the timers and start the calibration dialogs as attached. There, I use the same task as in the measuring procedure, but by using a new AnalogMultiChannelReader. Calibration does not produce an error message. After timers are reactivated. When I call calibration of the same channel again, the current values appear to be calibrated. But not so for the continued measuring processes. What could I possibly do to continue a reliable measurement?
Download All
0 Kudos
Message 1 of 2
(3,174 Views)
Hi xaida,

the part of source code you posted looks ok. Maybe you should first try to test the calibration with the Measurement & Automation Explorer (MAX). Just create a task and than test the channel calibration. Does this work ? If not, you have to check the signal(s) attached which you use for calibration. Maybe they are somehow wrong and cause this wrong measurement.

Regards,
TorbenP
0 Kudos
Message 2 of 2
(3,138 Views)