'''[wiki:GraspSwControllerCmd etype]'''

[[TracNav(GraspContents)]]

||Command:||'''etype'''||
||Contexts:||Network socket, serial console, stage2 only||
||Function:||Request exposure type setting applicable to next "[wiki:GraspSwControllerCmd expose]" command||
||Required Parameters:||Either '''object''' or '''bias''' or '''dark''' (or letter '''o''','''b''','''d''')||

=== Usage ===

This command sets a "sticky" parameter.  It doesn't do anything to the detector, but it sets the exposure type to be performed during the next [wiki:GraspSwControllerCmd expose] command.  It only needs to be sent to the controller upon initialization, or when the type changes, though there is no harm sending it before every exposure.

{{{
etype bias
}}}

Requests that next [wiki:GraspSwControllerCmd expose] will be a BIAS calibration type.  Integration time will be ignore and detector read immediately (presumably right after issuing [wiki:GraspSwControllerCmd clean].)

{{{
etype dark
}}}

Requests that next [wiki:GraspSwControllerCmd expose] will be a DARK calibration type.  Integration timer is used, but the shutter does not open.  Integration period must be set with [wiki:GraspSwControllerCmd etime].

{{{
etype object
}}}

Requests that next [wiki:GraspSwControllerCmd expose] will be an OBJECT (science frame) type.  Shutter is opened for the requested integration period.  Integration period must be set with [wiki:GraspSwControllerCmd etime].