From 22d0ff7e93e04464eee27e51fcfdc27b3e84abd6 Mon Sep 17 00:00:00 2001 From: gac-x11ma Date: Thu, 14 Dec 2017 02:15:53 +0100 Subject: [PATCH] Script execution --- script/Electric_field_loop.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/script/Electric_field_loop.py b/script/Electric_field_loop.py index cfce928..6864ea1 100644 --- a/script/Electric_field_loop.py +++ b/script/Electric_field_loop.py @@ -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;