Script execution

This commit is contained in:
X11MA
2016-02-04 16:42:30 +01:00
parent 49b2918095
commit 6f67e7b490
+2 -3
View File
@@ -76,11 +76,10 @@ def _startPlot(type):
if otf_start.read() == 0:
break
e = energy.read()
''' if (MCP_1 == 1 or MPC_2 ==2):
if (MCP_1 == 1 or MPC_2 ==2):
numpy.vstack([MCP1, MCPArray1.read()])
numpy.vstack([MCP2, MCPArray2.read()])
time.sleep(SamplingTime.read()*0.001)
'''
time.sleep(SamplingTime.read()*0.001)
if (abs(e-cur)) > 0.1:
v = abs((keithley_2a.read() / ((keithley_1a if (type==1) else keithley_3a).read() )))
s.appendData(e,v)