People: Simone, Sam, Tom, Edgar
Tested IV curve python script that runs using MIDAS. Measured resistance consistant with resistor specification. elog:46/1
The resistance is attached to ch11, and we called the script (channels go from 0 to 24):
chnum=11 ; python3 iv_curve.py --no_steering --caen_chan $chnum --stop_v 3 --step_v 0.001 --filename ivcurve_`date +%s`_$chnum.txt
Issues:
No readout of trip condiotion therefore python script overides power supply trip and attemps to bring back voltage to next value. Potentially dangerous. Script only terminates with the final voltage value. See attached plot elog:46/1
Script terminated with error message:
Traceback (most recent call last):
File "iv_curve.py", line 287, in <module>
iv.run()
File "iv_curve.py", line 269, in run
self.set_caen_and_wait_for_readback(voltage)
File "iv_curve.py", line 223, in set_caen_and_wait_for_readback
raise RuntimeError("CAEN HV didn't respond to request to set voltage to %s; latest readback voltage is %s" % (voltage, rdb))
RuntimeError: CAEN HV didn't respond to request to set voltage to 2.976; latest readback voltage is 0.052000001072883606
|