Script execution

This commit is contained in:
gac-x11ma
2017-12-14 02:15:53 +01:00
parent b53e348e44
commit 22d0ff7e93

View File

@@ -54,10 +54,10 @@ for i in range(0,No_of_steps):
wait_channel(OTF_DONE, 1, type = 'i')
readback2 = energy.read()
sleep(1);
detector1 = float(keithley_1a.read()) #Keithley1
detector2 = float(keithley_2a.read()) #Keithley2
detector1 = keithley_1a.read() #Keithley1
detector2 = keithley_2a.read() #Keithley2
detector4 = caget(OTF_MODE2) #polarization in ID2
M1 = detector2/detector1
M1 = float(detector2)/float(detector1)
temp_tey=temp_tey+(M1);
ADC2_temp_E1=ADC2_temp_E1+detector2;
ADC1_temp_E1=ADC1_temp_E1+detector1;