Script execution

This commit is contained in:
gac-x11ma
2017-12-14 08:20:58 +01:00
parent cc583c7605
commit 16217a6415

View File

@@ -13,7 +13,7 @@ caput ("X11PHS-E:OPT","PGM+ID2")
#set ID2 to C+
caput(OTF_MODE2,2)
caput(OTF_MODE2,1)
caput(OTF_OFF2,OFFSETp)
E1 = 778 # Edge
@@ -61,9 +61,9 @@ for i in range(0,times):
detector2 = keithley_2a.read() #Keithley2
detector4 = caget(OTF_MODE2) #polarization in ID2
M1 = float(detector2)/float(detector1)
temp_tey=temp_tey+M1;
ADC2_temp_E1=ADC2_temp_E1+detector2;
ADC1_temp_E1=ADC1_temp_E1+detector1;
temp_tey=M1;
ADC2_temp_E1=detector2;
ADC1_temp_E1=detector1;