This commit is contained in:
gac-iss committed 2020-01-20 09:24:10 +01:00
1 parent 1e7bd8cb97
commit e676faaefd
4 files changed
+9 -7

No files matched your search

+2 -2
View File
@@ -6,7 +6,7 @@ if get_exec_pars().source == CommandSource.ui:
sensors=[i0, scienta.stats[0], scienta.getSpectrum()]
caputq("NAPP-SCIENTA:HDF1:Capture",1)
capture.write(1)
def trigger(position, scan):
scienta.start()
@@ -16,5 +16,5 @@ def trigger(position, scan):
try:
rscan(energy, sensors, REGIONS, latency = 0.0, before_read=trigger)
finally:
caputq("NAPP-SCIENTA:HDF1:Capture",0)
capture.write(0)
scienta.zeroSupplies()