Closedown
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
print "Monitoring"
|
||||
prinsdfsdft "Monitoring"
|
||||
if controller.state == State.Ready and Scienta.state.isInitialized():
|
||||
scientaCurrentImageCount = Scienta.getCurrentImageCount()
|
||||
_scientaRestart = False
|
||||
@@ -18,14 +18,15 @@ if controller.state == State.Ready and Scienta.state.isInitialized():
|
||||
if globals().has_key("scientaTimeOut"):
|
||||
if scientaTimeOut:
|
||||
_scientaRestart = True
|
||||
scientaTimeOut = False
|
||||
scientaTimeOut = False
|
||||
break
|
||||
except:
|
||||
if i < retries-1:
|
||||
print "Com failure: retrying"
|
||||
else
|
||||
print "Scienta timeout"
|
||||
scientaTimeOut = True
|
||||
scientaTimeOut = True
|
||||
break
|
||||
|
||||
if _scientaRestart:
|
||||
print "Restarting Scienta..."
|
||||
|
||||
Reference in New Issue
Block a user