CaltechOpticalObservatories / NGPS

NGPS Software
2 stars 0 forks source link

Wait until scheduled start times #40

Closed chazshapiro closed 1 month ago

chazshapiro commented 1 year ago

Yet another table column! e.g. "waituntil"

This is a string that can be parsed as date/time, e.g. "yyyy-mm-ddThh:mm:ss"

Delay the exposure until the clock time is after this time. No effect if that time has already passed. I presume we'll want to slew to the target and wait to expose.

This requires OS behavior changed, OTM updated to simulate, and a new db field.

chazshapiro commented 12 months ago

"notbefore" might be a better field/column name to avoid confusion. I'll start with that.

chazshapiro commented 12 months ago

OTM now accepts an optional 'notbefore' column, and assumes the exposure is delayed as described above. Required format is "yyyy-mm-ddThh:mm:ss"

chazshapiro commented 1 month ago

Appears to be working, although GUI is sending times in a different format, "yyyy-mm-dd hh:mm:ss.s"