Commit 352c8aed authored by Tammo Jan Dijkema's avatar Tammo Jan Dijkema
Browse files

Use waitForFirstUpdate

parent 7a454604
......@@ -72,8 +72,7 @@ def make_sigmf(metadatafilename):
# CAMRAS
try:
dt = Telescope(consoleHost="console")
time.sleep(1.1) # Make sure everything is updated
dt = Telescope(consoleHost="console", waitForFirstUpdate=True)
console_is_on = True
except IOError:
console_is_on = False
......@@ -100,7 +99,7 @@ def make_sigmf(metadatafilename):
global_meta["camras:pointing:datetime"] = Time.now(
).iso[:19] # Pointing is only accurate to the second
else:
global_meta["camras:pointing:source"] = "DT controller"
global_meta["camras:pointing:source"] = "DT console"
tracker = dt.tracker.replace("console/", "")
global_meta["camras:pointing:tracking"] = dt.tracker
global_meta[
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment