Closedown
This commit is contained in:
+1
-1
@@ -32,7 +32,7 @@ sout = SimulatedOutput()
|
||||
sinp = SimulatedInput()
|
||||
|
||||
def integrate_image(vertical = True):
|
||||
data = Scienta.data.read()
|
||||
data = Scienta.dataArray.read()
|
||||
#Integrate and plot
|
||||
(width,height) = Scienta.getImageSize().tolist()
|
||||
integration = []
|
||||
|
||||
+2
-2
@@ -6,12 +6,12 @@ import time
|
||||
#Scienta.lowEnergy.write(397.0)
|
||||
#Scienta.highEnergy.write(403.0)
|
||||
|
||||
formerData = Scienta.data.take()
|
||||
formerData = Scienta.dataArray.take()
|
||||
Scienta.start()
|
||||
Scienta.waitReady(-1)
|
||||
|
||||
while True:
|
||||
data = Scienta.data.take()
|
||||
data = Scienta.dataArray.take()
|
||||
if (data is not formerData):
|
||||
break;
|
||||
time.sleep(0.01)
|
||||
|
||||
Reference in New Issue
Block a user