Issued By: Mark Jarnyk & Peter Young
Approved By: __________________________ Group Manager _________
__________________________ Group Manager (if req) _________
__________________________ Systems Engineering _________
Revised by: Mark Jarnyk & Peter Young
Reason for / items changed: Original NIFS version as ICD 1.9f/3.1, modeled after NIRI ICD 1.9a/3.1.
This Interface Control Document (ICD) serves the following purposes:
This document is based very closely on ICD 1.9a/3.1 See niri_hty_003, "ICD1.9a/3.1 Near IR Imager (NIRI) to Observatory Control System", Hubert Yamada, University of Hawaii, Institute for Astronomy, describing the OCS interface with NIRI, the basis of much of NIFS.
In addition to the documents mentioned in the previous paragraphs, the specific interfaces described in this document are governed by the following parent Interface Control Documents, which describe the general properties of particular kinds of interfaces:
This document describes only aspects of the NIFS software system which differ from, or are more specific than, the Gemini standard instrument, described in See cics_smb_013, "Science Instrument to Observatory Control System", Steven Beard, Royal Observatory Edinburgh.. It is assumed that the reader is familiar with that document.
This document does not describe the following:
CICS Core Instrument Control System
DC Detector Controller (software system)
EPICS Experimental Physics and Industrial Control System
FITS Flexible Image Transport System
ICD Interface Control Document
ISS Instrument Support Structure
OCS Observatory Control System
OIWFS On Instrument Wavefront Sensor
PDF Parameter Description File
SDSU San Diego State University
SIR Status and Information Record
STP Stop command to the SDSU controller
The process started as a result of a See Command . For example, a command to select a new filter will start the filter wheel mechanism in motion. There can be a many-to-one correspondence between commands and actions. For example, several different filter commands can all result in the same filter wheel movement action. The status of an action is reported through a CAR record.
An entity which describes some aspect of the configuration of a science instrument, such as the name of a filter or the tilt angle of a grating. Some attributes will be used by the Instrument Control System as command parameters. The OCS communicates with a science instrument by sending it sets of " See Attribute " and " See Value s".
Header and pixel data which is to be transferred to the DHS for display or storage. Bulk data is transmitted using the protocol of ICD/3, See gscg.grp.007, "ICD 3 -- Bulk Data Transfer", Norm Hill, Severin Gaudet & Steven Beard, DAO., rather than by EPICS channel access, See "EPICS Channel Access Reference Manual", J. O. Hill, Los Alamos National Laboratory. Compare with See Status information .
This refers to the data resulting from the combination (e.g. coadding) of several detector See Readout s.
An instruction commanding the Instrument Control System to start some action. The action may result in a mechanism moving or some internal parameters being set to particular values. A command may have command parameters (aka "command arguments") which contain the details of the instruction to be obeyed. Commands are activated by means of CAD records, and the OCS maps each command arguments onto an " See Attribute ".
An instrument subsystem responsible for the various mechanisms (e.g. motors and heaters) contained in an instrument.
The Local Area Network in the Gemini system devoted to the transfer of commands, responses and status information.
A unique label for a See Data set assigned by the DHS or OCS which is used to identify data being sent to or requested from the DHS. When an instrument obeys an OBSERVE command, the See Data label for the See Data set generated is provided by the OCS. The See Data label for data generated spontaneously by a non-instrument data source, such as a wavefront sensor, is provided by the DHS.
A self-contained collection of data generated as a result of an instrument obeying an OBSERVE command. Each OBSERVE command results in one and only one See Data set . All the data relating to one See Data set will be maintained by the DHS in a single container. A data set consists of some See Header data describing the See Data set plus one or more See Frame s.
The reference point used to define the coordinate system of a mechanism which does not have absolute encoders. Also knows as " See Index " and " See Home ".
A clocking out of the integrated signal recorded by a detector which results in that signal being discarded. A detector can only be read out once in such a mode.
An instrument subsystem responsible for controlling a detector array and reading data from it. Note that this term has been used in Gemini documentation to refer both to the detector control electronics and the detector control software system . In the context of this software document the term refers to the detector control software system unless otherwise stated.
That part of the See Header data containing information about the See Data set which needs to be collected at a very precise time (such as the time at which the data collection started and finished). This part of the See Header data is typically provided by an instrument.
A device used to sense the location of a mechanism. An absolute encoder gives a direct reading of the position of a mechanism. A relative encoder is used to count how far a mechanism has moved from its previous position.
The array of data resulting from reading the detector during or after a single exposure of the detector array to light. An exposure is made by resetting the detector, exposing it to light, and reading it one or more times (e.g. once in a See Destructive read mode or several times in a See Non-destructive read mode).
An image or spectrum capable of being displayed or processed as a discrete entity (for example an image of all the coadded observations in one beam of an observation made in chop mode). A See Data set can be made of one or more frame (for example a See Data set in chop mode might consist of frames of coadded exposures in beams A and B). Each frame can consist of one or more See Exposure s.
An electronic component which is used to detect and to measure magnetic field strength.
A collection of attribute/value pairs which describe a See Data set or a See Frame within a See Data set .
See " See Datum ".
See " See Datum ".
That part of an Instrument Control System responsible for coordinating the actions of a Detector Controller and one or more Components Controllers. The A&G subsystem has a "Guidance and Beam Direction Sequencer" for coordinating its components.
A clocking out of the integrated signal recorded by a detector in a way which maintains that signal intact. The signal recorded by a detector can be sampled more than once in such a mode. This mode is often used to minimise the contribution from detector read noise.
An observation is a procedure, specified by the observer, designed to obtain scientific information from the light acquired from an object. To complete an observation, the OCS may need to issue several OBSERVE commands, which could result in several See Data set s. The term See Observation has also been used in the CICS documentation to refer to the act of accumulating light from a source on a detector.
A document describing the commands and parameters recognised by a principal system, and the status information made available by that system.
This is the information which the instrument supplies to the TCS describing where on the telescope focal plane the light from a particular source object should be directed. This information can be used to position an object at a certain place on a detector array or at a certain place on the instrument's slit, for example. If not specified, the default pointing origin will be at the centre of the Cassegrain rotator axis.
The act of defining and testing a set of attributes to make sure they are valid before executing the command(s) associated with them.
The Gemini Control System is made up of the OCS, TCS, DHS and one ICS for each instrument. These systems constitute the principal systems of the Gemini Control System.
When used in the context of a detector controller, this refers to the read of a single pixel on the detector array.
When used as a noun to describe instrument data, this refers to the array resulting from a See Read of all the pixels on the detector inside a given region of interest (which may be the whole detector array). An See Exposure can be made from one or more readouts or See Combined readout s.
This is an area on the surface of a detector whose data are of interest. There may be one or more regions of interest on a detector array.
Shack-Hartmann. A type of wavefront sensor in which the field is imaged onto a detector through an array of small lenslets, causing a star to be imaged as an array of spots. The relative location of the centroids of these spots can be used to determine the shape of the incoming wavefront.
That part of the See Header data containing information which changes little with time during an observation (such as the telescope target coordinates and name of the observer). This part of the See Header data is typically provided by the OCS, but some wavefront sensors may need to provide the information themselves.
Small quantities of information describing the configuration or status of a system. This information is usually stored in an EPICS database and communicated by channel access, See "EPICS Channel Access Reference Manual", J. O. Hill, Los Alamos National Laboratory. Compare with See Bulk data .
The set of standard commands mandated by the OCS which all instruments must obey. These are described in reference See ocs.kkg.031, "Sequence Command Specifications", Kim Gillies, Shane Walker & Steven Beard, NOAO/Gemini 8m Telescopes Project..
This is an EPICS database containing the public status information for a Gemini principal system. For an Instrument Control System, the SAD would contain information about the configuration of the instrument's mechanisms, its current state and health, and information obtained from sensors.
The value associated with an " See Attribute ".
The system hardware architecture for the NIFS control software is described in See "NIFS Critical Design Review Vol 1", Research School of Astronomy and Astrophysics, Australian National University.
The communications infrastructure is the same as described in See cics_smb_013, "Science Instrument to Observatory Control System", Steven Beard, Royal Observatory Edinburgh..
The software architecture is described in See "NIFS Critical Design Review Vol 1", Research School of Astronomy and Astrophysics, Australian National University.
The behavior of the NIFS/OCS interface is the same as described in See cics_smb_013, "Science Instrument to Observatory Control System", Steven Beard, Royal Observatory Edinburgh..
This section contains tables summarizing the EPICS records used for the interface. The next sections contain the details of what those records do.
It is assumed in all cases that the record names given in this document are prefixed by the string "nifs:". Records in the SAD database are prefixed by "nifs:sad:".
The columns of the command record tables are as follows:
The name of the attribute which the Observatory Control System associates with a particular parameter of a particular command. Component position names are listed separately in See Position Names (observing commands).
The name of the EPICS CAD record (minus the "nifs:" prefix) together with the field in that CAD record associated with each parameter of the command (Note that if no field is specified, then EPICS uses the VAL field.)
The recommended order in which this command should be executed. CAD records should be connected to their associated APPLY record in the order 1, 2, 3, 4, 5, etc. CAD records within the same ordering number set can be connected to the APPLY record in any order in that set.
The CAR record associated with the command. Note that several CAD records may share the same CAR record.
The NIFS sequencer recognizes all the OCS sequence commands and uses the CAD/CAR records specified in ICD 1b See gscg.kkg.024, "ICD 1b -- The Baseline Attribute/Value Interface", Kim Gillies, NOAO.. See also ICD 1a See gscg.kkg.009, "ICD 1a -- The System Command Interface", Kim Gillies, NOAO., for a description of what these commands do.
|
Attribute2 |
CAR record3 |
|||
|---|---|---|---|---|
The commands in See NIFS general observing command CAD/CAR records are the only ones that are used during routine observation.
|
Attribute4 |
||||
|---|---|---|---|---|
|
Offset the grating so that it is centred on a new wavelength (in μm) |
||||
|
Offset the focal plane mask as projected onto the detector. Offset is in units of displacement of arcseconds across the detector. |
||||
|
Park the window cover.5 |
||||
|
Setup readout sequence parameters for IDLE mode. A separate set of parameters are maintained for each NIFS mode (idle and run) |
Number of non-destructive reads Wavelength minimum6 |
|||
|
Setup readout sequence parameters for RUN mode. A separate set of parameters are maintained for each NIFS mode (idle and run) |
Read method (DCS | FOWLER | LINEAR) Number of non-destructive reads |
|||
|
Setup DHS parameters for IDLE mode. Like the readout parameters, a separate set is maintained for each operating mode. |
||||
|
Setup DHS parameters for RUN mode. Like the readout parameters, a separate set is maintained for each operating mode. |
Send data to the DHS or FITS server? Save each non-destructive read?7 |
|||
|
Set DHS quick look stream information for observe mode - this is a required Gemini CAD. |
The following commands are used for engineering purposes, and are not expected to be used during observing. These are normally activated by the engineering user interface.
These commands affect the overall behavior of NIFS and the NIFS OIWFS. Note, in particular, that it is not possible to reboot the NIFS IS, CC and OIWFS separately.
|
Attribute8 |
||||
|---|---|---|---|---|
The NIFS components controller control software recognizes all the OCS sequence commands and uses the CAD/CAR records specified in ICD 1b, See gscg.kkg.024, "ICD 1b -- The Baseline Attribute/Value Interface", Kim Gillies, NOAO.. See also ICD 1a, See gscg.kkg.009, "ICD 1a -- The System Command Interface", Kim Gillies, NOAO., for a description of what these commands do.
|
Attribute9 |
||||
|---|---|---|---|---|
The following commands are used for engineering purposes, and are not expected to be used during normal observing. Note that, although these commands are connected to the APPLY record, they are normally activated directly by the engineering user interface.
|
Attribute10 |
||||
|---|---|---|---|---|
|
Set the filter-wheel position using position numbers11. |
||||
|
Confirm that the filter wheel has not lost its datum position. |
||||
|
Confirm that the filter wheel and its Hall-effect sensors are operational. |
||||
|
Confirm that the grating turret has not lost its datum position. |
||||
|
Confirm that the grating turret and its Hall-effect sensors are operational |
||||
|
Set the focal-plane mask wheel position using position numberb. |
||||
|
Set the focal-plane mask wheel position in engineering unitsb. |
||||
|
Confirm that the focal-plane mask wheel has not lost its datum position. |
||||
|
Confirm that the focal-plane mask wheel and its Hall-effect sensors are operational |
||||
|
Set the flip mirror position12. |
||||
|
Confirm that the flip mirror has not lost its datum position |
||||
|
Confirm that the flip mirror and its Hall-effect sensors are operational |
||||
|
Confirm that the window cover has not lost its datum position. |
||||
|
Confirm that the window cover and its Hall-effect sensors are operational |
The NIFS detector controller control software recognizes all the OCS sequence commands and uses the CAD/CAR records specified in ICD 1b, See gscg.kkg.024, "ICD 1b -- The Baseline Attribute/Value Interface", Kim Gillies, NOAO.. See also ICD 1a, See gscg.kkg.009, "ICD 1a -- The System Command Interface", Kim Gillies, NOAO., for a description of what these commands do. Some of these sequences are not used for NIFS and are handled by just cycling the corresponding CAR record from BUSY to IDLE without taking any further action. These are indicated by the "no-operation" label in See NIFS DC sequence command CAD/CAR records.
|
Description13 |
Attribute14 |
|||
|---|---|---|---|---|
|
Test. For ENGINEERING test mode, this sequence runs the SDSU TDL commands to test the communication links between the VME interface card and the controller electronics. |
||||
The following commands are used for engineering purposes, and are not expected to be used during normal observing. Note that, although these commands are connected to the APPLY record, they are normally activated directly by the engineering user interface.
The following set of tables show the status information provided by NIFS, together with the subset of that information which is written to the FITS header. The tables distinguish status information provided by the Instrument Sequencer, Components Controller and, Detector Controller, but all the information shown is available over the OCS-to-NIFS interface. The tables have the following columns:
Indicates how the item is normally included in the FITS header. Items labelled "start" are sampled at the start of a data set observation; those labelled "end" are sampled at the end of a data set observation, and those labelled "never" are never written to the FITS header.
The units in which the quantity is stored and / or the range of values that are taken.
A description of the item. The first paragraph of this will go into the SIR record description and also the comment field in the FITS header.
Note that only the type, units and comments are actually contained in the SIR records. The FITS keyword is provided by the DHS .
See Compulsory Instrument Sequencer (IS) Status Information contains status information for all of NIFS, particularly, the instrument sequencer.
|
Heartbeat: Shows that IS is still alive by increasing at a steady rate |
|||||
|
History-log record15 |
|||||
|
Instrument state [BOOTING | INITIALIZING | RUNNING | CONFIGURING] |
|||||
See Compulsory Components Controller (CC) Status Information contains the compulsory Components Controller SIRs.
|
Heart beat record: Shows that CC is still alive by increasing at a steady rate. |
|||||
|
History log record16 |
|||||
|
Instrument state [BOOTING | INITIALIZING | RUNNING | CONFIGURING] |
|||||
|
Is the WFS detector unobstructed? [YES=0 | NO=1]17 |
The following table summarizes the information for the various components.
The following table summarizes the provided information for the temperature subsystem.
The following table summarizes the health information records. All records return one of the strings: "GOOD", "WARNING", or "BAD". Each record describes one aspect of the health of a component.
|
The health of the focal-plane mask wheel Hall-effect sensors |
|||||
|
The health of the focal-plane mask wheel backlash correction |
|||||
See Components Controller (CC) Temperature Subsystem Health Information summarizes the heath messages involving the temperature monitoring and control subsystem. All records return one of the strings: "GOOD", "WARNING", or "BAD".
See Position Names (observing commands) contains a list of valid position names. Note that these names are case sensitive and must be entered exactly as presented here, including underscores. In addition to the listed positions, all mechanisms respond to the special names "datum" and "park" which may or may not be distinct from the listed positions.
|
Engineering Position18 |
|||
|---|---|---|---|
See Compulsory Detector Controller (DC) Status Information contains the same information as See Compulsory Instrument Sequencer (IS) Status Information, but for the Detector Controller.
See Detector Controller (DC) Status Information contains the remaining status information for the Detector Controller.
A general table of the commands accepted by the NIFS control software, together with their arguments, is given in See NIFS general observing command CAD/CAR records. This section contains a detailed description of each of the commands that can be sent between the OCS and the NIFS control software.
Any directive asserted on the top-level APPLY record will be forwarded to all the CAD records in the sequencer, CC, and DC (perhaps via lower-level APPLY records). Only the marked CAD records will respond. If the directive is accepted it will cause the NIFS control software to change its configuration. The "applyC" CAR record will go "BUSY" while the NIFS control software is changing its configuration and go to "IDLE" if completed successfully or to "ERR" if the configuration change fails.
The APPLY command causes the system to match the configuration that has been sent to it by the OCS. Depending on the APPLY directive and which CADs are marked, commands will be accepted for execution, if verified, in predetermined order. If any CAD parameter is not verified the command will be rejected.
On receipt of this command, the IS ensures that an observation is not taking place. It then executes its initialization sequence, in which it reads its hardware set-up files and lookup tables, and resets itself to the start-up state. This command is forwarded to the CC, DC, and OIWFS CC. The "initC" CAR record goes "BUSY" while the initialization is being carried out and will go to "IDLE" if completed suc-cessfully or to "ERR" if the initialization fails.
The CC reads its hardware set-up files and lookup tables, and resets itself to the start-up state. No mechanisms are moved.
The DC reads its hardware setup files, and starts/restarts the VxWorks control tasks which are put into the READY state.
On receipt of this command, the IS ensures that an observation is not taking place, and then forwards this command to the DC and CC. The "testC" CAR record will go "BUSY" while the tests are being carried out and go to "IDLE" if completed successfully or to "ERR" if the tests fail.
The CC accepts, but ignores this command.
The DC accepts this command if an INIT has been successfully performed. Depending on the testMode parameter, communication link tests between the DC IOC and the SDSU controller electronics are performed using the SDSU TDL command.
For the CC, because the TEST command is not permitted to move any mechanisms, it is unable to detect any problems with the Components Controller. Use the REDATUM command instead.
On receipt of this command, the IS ensures that an observation is not taking place and then forwards the command to the CC, the DC, and the OIWFS CC. The "datumC" CAR record goes "BUSY" while the datum search is being carried out and goes to "IDLE" if completed successfully or to "ERR" if the datum search fails.
On receipt of this command, the IS ensures that an observation is not taking place and then forwards the command to the CC and DC.
On receipt of this command, the IS ensures that an observation is not taking place and then forwards the command to the CC and DC.
On receipt of this command, the IS ensures that an observation is not taking place. It then sets a flag as a reminder that guiding is taking place (as this information may affect its interaction with the On-Instrument Wavefront Sensor). The IS also forwards this command to the CC and DC.
On receipt of this command, the IS ensures that an observation is not taking place. It then resets the guiding flag to indicate guiding has stopped. The IS then forwards this command to the CC and DC.
On receipt of this command, the IS ensures that an observation is not taking place and then forwards the command to the DC. The IS rejects the command if its control software or the CC control software is still configuring its mechanisms. If accepted, the DC "observeC" CAR record is changed to "BUSY". It goes back to "IDLE" when the data set observation completes (or "ERR" if the observation was not successful).
The CC does not support this command.
The DC will start an observation according to the currently set observation parameters. The NIFS DC supports two readout modes - IDLE and RUN. At startup NIFS will automatically go into IDLE mode, move to RUN mode during an OBSERVE sequence, and return to IDLE mode at the end of the sequence. Separate parameters are maintained for each mode.
On receipt of this command, the IS forwards the command to the DC. No changes are made to the "observeC" CAR record.
On receipt of this command, the IS forwards the command to the DC.
The CC does not support this command.
On receipt of this command, the IS forwards the command to the DC. The command is rejected if an observation has not been paused. If successful, the "observeC" CAR record is changed to "BUSY".
On receipt of this command, the IS forwards the command to the DC. The command is rejected if an observation is not being made. If successful, the "observeC" CAR record is changed to "IDLE".
The CC does not support this command.
The DC stops the current observation at the next non-destructive read (NDR) cycle and retains any data up to that point.
On receipt of this command, the IS forwards the command to the DC. If successful, the "observeC" CAR record is changed to "IDLE".
The CC does not support this command.
The DC stops the current observation immediately and throws out any data. The system is returned to the READY state.
On receipt of this command, the IS ensures that an observation is not taking place and then forwards the command to the DC and the CC.
The CC moves its mechanisms to a configuration in which it can safely be switched off. It utilizes all the low-level CAD records dedicated to parking the individual mechanisms. The "parkC" CAR record will go "BUSY" while the mechanisms are being parked and then go to "IDLE" if completed successfully or to "ERR" if any mechanism fails to park.
The DC readies the SDSU controller electronics so that they can be safely switched off.
This command causes the system to reboot, reload the software, and perform the init command.
On receipt of this command, the control software changes to the given debug mode (NONE, MIN, or FULL). This mode determines the amount and frequency of information logged, as described in the "Debugging Modes" section of ICD 1a. The "debugC" CAR record will go briefly "BUSY" and then back to "IDLE".
NIFS has an environmental cover, a filter wheel, a grating turret, a flip mirror and a focal-plane mask wheel.
The following commands will act on all of the above mentioned mechanisms; however, as noted below, the use of certain commands with certain mechanisms is discouraged.
This is the principal interface for all continuous mechanisms. It is provided as a convenience for discrete mechanisms.
On receipt of this command, the NIFS CC control software will:
Translate desired position name into an engineering position with the aid of a look-up table.
Look up the expected value for the Hall-effect sensors at the desired position location.
Check to insure that protective interlocks are not set.
Wait until the number of active mechanisms drops below the number of mechanisms that the power supply can support.
Move the mechanism to the engineering position corresponding to the desired position.
Verify that the expected sensor value matches the measured value.
This is the principal interface for all discrete components. It is available for continuous components, but is of limited use for normal use of the instrument19.
On receipt of this command, the NIFS CC control software will:
Check to insure that protective interlocks are not set.
Wait until the number of active mechanisms drops below the number of mechanisms that the power supply can support.
Move the focus mechanism to the engineering position corresponding to the desired focus.
For some mechanisms, compute the expected values for the Hall-effect sensors.
For some mechanisms, verify that the final hall effect sensors match the expected values.
Check to insure that protective interlocks are not set.
Wait until the number of active mechanisms drops below the number of mechanisms that the power supply can support.
Move the mechanism to its parking position.
Verify that the expected sensor value matches the measured value.
The park command is not needed for most NIFS components, and is provided for uniformity.
Check to insure that protective interlocks are not set.
Wait until the number of active mechanisms drops below the number of mechanisms that the power supply can support.
Check to insure that protective interlocks are not set.
Wait until the number of active mechanisms drops below the number of mechanisms that the power supply can support.
Move the mechanism to the specified engineering position.
Check to insure that protective interlocks are not set.
Wait until the number of active mechanisms drops below the number of mechanisms that the power supply can support.
Offset the mechanism by the specified engineering offset.
The Hall-effect sensors will not be used for confirmation.
This command provides a quick test that will detect a loss of positioning. It will detect small positioning errors, but can underestimate large positioning errors. Note that for multi-axis components (e.g., the gimbal mirror), the command acts only on the individual mechanisms. It returns an estimate of the difference between the actual datum position and the current datum position (which can occur, e.g., if a mechanism is sticking, being driven too quickly, or being driven with too high an acceleration).
On receipt of this command, the NIFS CC control software will:
Check to insure that protective interlocks are not set.
Wait until the number of active mechanisms drops below the number of mechanisms that the power supply can support.
Move the mechanism and search for its datum.
The hardware datum position will be left unchanged. This command returns a value in the RdtmVal record for this mechanism.
This command is neither supported by the flip mirror nor the window cover, because those mechanisms use a home-finding algorithm which is incompatible with this command.
Check to insure that protective interlocks are not set.
Wait until the number of active mechanisms drops below the number of mechanisms that the power supply can support.
Move the mechanism and attempt to verify that the motors and Hall-effect sensors are operating.
If an error is detected, the diagnose command will fail and will return an error code in its CAR record.
NIFS supports the following DC engineering commands:
This command will initialize the SDSU controller electronics using the currently set SDSU parameters. This will include downloading timing and VME DSP codes, setting voltages, setting the video mode, setting the number of samples of digital filtering and turning the power on/off.
On receipt of this command, the NIFS DC control software will:
Stop IDLE mode if currently running.
Download the timing DSP code from disk file.
Download the VME DSP code from disk file.
Set voltages vInOffset1, vInOffset2, vInOffset3, vInOffset4, biasGate, vReset, biasPwr, vdda and, vdd.
Set the video mode to either VD1, VD2 or stop.
Set the number of samples to digitally filter.
Restart IDLE mode if required.
Place the SDSU status value in the replyStatus SIR.
This command will set the NIFS DC video mode. If enabled, the NIFS detector will run a continuous sequence of, either, reset, expose and read, or reset, read, expose and, read, depending on the video mode. Data will be sent to the IDLE mode quick look displays, if the dataIdle.A CAD parameter is set.
On receipt of this command, the NIFS DC control software will:
This record contains a string constant describing the name of the instrument. For NIFS this record will contain "NIFS".
This record will take the values BOOTING, INITIALISING, RUNNING and CONFIGURING20 and reflect the state of the NIFS control software while it is initializing. The activities corresponding to these states are
This record will reflect the overall health of the NIFS control software (including the components controller and the detector controller). Expected values are GOOD, WARNING or BAD. If the overall health is BAD then the NIFS control software is unusable. If the Health is set to WARNING then the NIFS control software is able to execute some functions but not perhaps to specification.
The record used to contain messages to be recorded in the history log.
This record is a simple incremental counter, whose changing value indicates that the IS is still alive.
This record indicates that a component has been datumed. For multi-axis components, this flag will only be set if all mechanisms have been datumed. This record takes on the following values:
This record indicates that a mechanism may be set to a location beyond its physical limits (convenient for circular mechanisms like filter wheels). Note that this only affects the higher level commands; the low-level software may choose to ignore any invalid requests. This record takes on the following values:
This record is for internal use by the NIFS software. Its value should not be changed. It is documented here only for completeness.
This record contains the maximum position that the mechanism can be moved to, in engineering units.
This record contains the minimum position that the mechanism can be moved to, in engineering units.
This record contains the engineering name of the current mechanism position. This represents a physical configuration of a component, and will never change (unlike the "Name" record which may change, if filters or other optical elements are replaced or rearranged). The names of the positions are:
The FDSC field of this record contains a text string which describes a component. This is convenient in providing a title string for edd/dm screens.
This record contains the maximum position that the mechanism can be moved to, in real-world units. A text string describing the real-world units may be found in the Units record. For mechanisms such as a filter wheel in which there are no appropriate units, the position will typically be given as a position number, i.e., position 0 is 0.0, position 1 is 1.0.
This record contains the maximum position that the mechanism can be moved to, in real-world units. A text string describing the real-world units may be found in the Units record. For mechanisms such as a filter wheel in which there are no appropriate units, the position will typically be given as a position number, i.e., position 0 is 0.0, position 1 is 1.0.
This record contains the name of the current component position. This name typically describes a filter or other optical element and will be redefined if filters or other optical elements are replaced or rearranged (unlike the "EngName" record which describes a component's physical configuration).
Note that for multi-axis components, there will be a Name record for each individual mechanism, as well as for the component as a whole.
This record indicates that a component is in a parked state. For multi-axis components, this record will be set only if all mechanisms are parked. This field takes the values:
This record contains the current position of a mechanism, in real-world units. A text string describing the real-world units may be found in the Units record. For mechanisms such as a filter wheel in which there are no appropriate units, the position will typically be given as a position number, i.e., position 0 is 0.0, position 1 is 1.0.
This record contains the result of the last redatum command, in engineering units. (The redatum command returns an estimate of the how far the current mechanism datum position is from the actual datum position; it is useful in diagnosing hardware problems.)
This record contains a combination of the values of all CAD records for all mechanisms that make up a component. It contains the following values:
This record exists as a convenience for the user interface. There is no reason for the OCS to use it. It is documented here only for completeness.
All of these records return the standard health values: "GOOD", "WARNING", and "BAD".
This record reports "WARNING" if a mechanism (or if any mechanism of a multi-axis component) is not datumed. It is cleared by successful execution of a datum command.
This record reports "WARNING" if a Hall-effect sensor has been disabled. (The sensors can only be disabled from the engineering user interface, and are normally disabled only to deal with a failed sensor.)
This record reports "BAD" if both sensors of a Hall-effect sensor pair have been disabled. Note that a mechanism is still usable if both sensors are disabled, but cannot be datumed. (The sensors can only be disabled from the engineering user interface, and are normally disabled only to deal with a failed sensor.)
This record reports "BAD" if the stepper-motor driver module has entered a fault state. This normally indicates a serious hardware problem. It may be possible to clear the error state by issuing a driver-reset from the engineering user interface. If it is not possible to clear the error, then the stepper-motor driver module or other related hardware has failed, and must be repaired.
This record reports "WARNING" if a mechanism (or if any mechanism of a multi-axis component) has been moved in such a way that proper backlash correction has not been made. In this case, the reported mechanism position may not be the actual mechanism position. This situation can arise if a movement command has been canceled while a motion is in progress; if a movement command failed to complete correctly, if certain low-level engineering commands are executed, and immediately after the control software has been rebooted. It is cleared by successful execution of any motion command.
These records report the current set-point temperature which for each temperature controller.
These records report the current temperature which is reported by each temperature controller.
This record returns one of the three strings: "Off", "High", or "Low", to indicate whether the cooling motors are off or operating at high or low speed.
All of these records return the standard health values: "GOOD", "WARNING", and "BAD".
This record will report "BAD" if a temperature controller is not functioning properly. This can indicate either a communications problem, a hardware failure with the temperature controller, or a faulty temperature sensor.
This record will report "BAD" if the cooling motors are off, when the instrument should be cold, or if the cooling motors are on, when the instrument should be warm.
This record combines all of the other heath records for the temperature control and monitoring subsystem, and reports the most severe condition.
This record will report "BAD" if the external mode-selector connector is not in the appropriate position for normal operation. (If the connector is in the "warm-up mode", the motors cannot be operated.)
This record indicates that the DC is making an observation. The instrument mechanisms should not be reconfigured during this period.
This record indicates that the DC is reading out its data. If acq is also set to TRUE then the detector is also still exposing otherwise the instrument may reconfigure its mechanisms.
The name and version number of the current timing DSP code filename..
Number of ADC conversion samples per pixel to use for multiplexer glow (read noise) reduction.
Number of reference circuit samples per row (or column) to use for residual drift reduction.
Each SDSU command results in either a DON or ERR status. This is recorded here for the latest SDSU command..
For the TEST sequence, SDSU controller to VME communications can be tested using the SDSU TDL command. This record holds the number of errors recorded in the last TDl sequence..
Number of non-destructive reads (NDR) per exposure and the period between each NDR.
Number of detector resets between each exposure and the time delay to allow detector to reset.
The requested total exposure time, actual exposure time recorded and the elapsed time between the detector reset at the beginning of the exposure and the finish of the final NDR. For NIFS exposed should equal elapsed.
Current state of the detector - either IDLE, OBSERVING or, READOUT. Depending on the NIFS run mode and on whether IDLE videoMode is set on, this record will cycle as follows:
This is the mode that is used to produce the final image intensities. NIFS supports double-correlated sampling, Fowler sampling and linear fitting (i.e., DCS | FOWLER | LINEAR). Refer to See "NIFS Conceptual Design Review Vol 1", Research School of Astronomy and Astrophysics, Australian National University and See "NIFS Critical Design Review Vol 1", Research School of Astronomy and Astrophysics, Australian National University for a complete description of each mode.
The requested number of exposures (NDRs) and the actual number of exposures recorded for the data set.
Most recent DHS data label that has been downloaded to the DHS. And the most recent calibration label requested from the DHS for using in producing the compressed spatial image for quick-look display. calLabel is also used by the raw-image quick look tool for subtracting from dataLabel.
The number of frames in a NIFS dataset - this will be always be 16, including 4 frames for each quadrant of the detector. These will be intensity, variance, quality and reference frames.
This interface can be tested and debugged by means of an engineering user interface supplied as part of the NIFS.
The NIFS control software will have the standard debugging modes described in ICD 1a, See gscg.kkg.009, "ICD 1a -- The System Command Interface", Kim Gillies, NOAO..
If a Hall effect sensor fails or if a mechanism must be disassembled for maintenance, the sensors will need to be recalibrated. A separate program is provided for this purpose. Calibration procedures are described in a separate document See "NIFS Software Maintenance Manual" - To be written, Research School of Astronomy and Astrophysics, Australian National University.
The Gemini simulation modes are described in ICD 1a, See gscg.kkg.009, "ICD 1a -- The System Command Interface", Kim Gillies, NOAO.. The NIFS control software will use the FAST and FULL modes, and by default it begins in "NONE" mode. VSM mode may be supported, if time permits.
1. All interlock commands are available from within the components controller, by using a nifs:cc: prefix, instead of the nifs:wfs: prefix.
3. Currently, it is required to have separate TestC, InitC, etc. CAR records. There is some disagreement over this requirement, and all of these CAR records may disappear, to be replaced by the global applyC.
7. The detector is read out a number of times during the integration, this parameter allows each readout to be saved temporarily to the DHS or FITS server.
12. This is strongly discouraged . Only the standard positions (excluding datum and park) are repeatable. The predefined locations are only stable when approached in the correct fashion.
17. The cc:wfsBeam record only indicates whether any components controller mechanisms are obstructing the wavefront sensor. For most purposes, wfsBeam (which combines cc:wfsBeam and wfs:wfsBeam) should be used.
18. "(tbd)" means that the mapping from user positions to engineering positions has yet to be determined.