Contents
- STARGRASP Core System
- I. Core System Operation
- II. Core Software Overview
- Command Syntax Notes
- Application Notes
- A. Demo Scripts
- B. Toolkit Level
- C. STARGRASP C Libraries
- D. Controller Socket Commands
- adc
- celldes
- cellsel
- clean
- clk
- clvset
- console
- dac
- detsize
- dev
- etime
- etype
- expose
- exposing
- ifconfig
- leds
- ntp
- ot
- otacal
- pixtype
- reset
- readcal
- readout
- settrig
- shutter
- E. Registers and Clocking Instructions
- III. Core Hardware Overview
- IV. Computers and Switches
- V. Test Procedures
- STARGRASP Info-Sheet
- STARGRASP Quick Start
- Extra Software Provided (Unsupported)
Command: | exposing |
Contexts: | Network socket, serial console, stage2 only |
Function: | Polls status of non-blocking exposure |
Required Parameters: | None. |
Usage
If an non-blocking exposure was launched (see the expose command), the controller has no means to signal the completion of the exposure back to the user. Instead, the exposing command may be used to poll the status of the exposure.
Like the version? command, the exposing command returns data on the socket indicating the status of any exposure in progress. The controller can return one of three statuses:
- not started: no exposure has been started.
- exposing: an exposure has been started in the background and is still in progress.
- complete timestamp1 timestamp2: a backgrounded exposure has completed. The two timestamps are the shutter open and close times respectively. If the controller is synced to an NTP server, then the timestamps will be in real-world time, otherwise they will reflect the controller's uptime at the time the shutter was opened and closed respectively.
Note that an aborted exposure (see the expose command) will show "complete", and the timestamps will reflect that the exposure was cut short.