Add option to read calibrated ADC instead of multimeter for all scripts
In this MR:
- We added functionality so that you can choose to read vmuxes with multimeter or through ADC. If reading through ADC, all chips are read simultaneously (single call to
read-adc
). - Ground does not need to be measured / subtracted when reading quantities through ADC. At the beginning of each script, a single ground reading is performed through the ADC to make sure that 0 counts are returned.
- Changed loop structure of all scripts to reduce calls to
write-register
- Flag
useCalibAdc
is added to measurement output MetaData, so we know if measurements were taken through multimeter or calibrated ADC
More explanation and validation of these changes here: https://cernbox.cern.ch/s/1nWzOKLMCmGofaN
Closes #20 (closed) module-qc-analysis-tools#9 (closed) #44 (closed)
Edited by Emily Anne Thompson