I am working on a project where I am using an Agilent 34970A to read DC Voltage from 100 channels and read one K-type thermocouple, using the three 34908A single ended Mux boards.
I am having no issues with the thermocouple measurement as the program just needs to call 1 measurement every 5 minutes.
The Issue that I am having is that the DC Voltage measurements are used to measure a bias voltage during power on of a sensor. Each time I take a measurement, it cuts the channel on and then off again. When the sensor loses power the bias voltage does not stabilize.
Essentially, I need to be able to turn the channel on and take multiple readings until I am able to read 10 readings that are "stable" (most likely will be determined by an average rate of change).
For the test I am not concerned about the speed of the readings as the majority of my test time is taken by waiting for the sensor to stabilize.
The closest I was able to get was to take multiple readings as quickly as possible so that the voltage loss of switching was minimized, but the results are not accurate enough.
Below is a snippet of the code I am using. I am not getting any errors running this code, and I am able to read from any channel any number of times, the only issue is that the relays on the 34908A switch off between each measurement.