Output of IIF Request

tcs@aotcs:35 % irc GetParameter /home/tcs/idl/wfsc/irc/irc_dd.dat
Resmsg[0]  = GetParameter result status: OK
Resmsg[1]  = '+14:34:18.283000000'
Resmsg[2]  = '11:49:03.253920864'
Resmsg[3]  = -2.81674131921266
Resmsg[4]  = '+14:34:18.283000000'
Resmsg[5]  = '11:49:03.253920864'
Resmsg[6]  = -2.81674131921266
---------------------------------------------

The file /home/tcs/idl/wfsc/irc/irc_dd.dat has a list of Data Dictionary values to retrieve. The dd variable names must be consistent with the names used by the TCS. These dd values are automatically placed in the .fits headed when a single IRTC image is acquired with the FITSKEY, DATATYPE and Comment listed with the dd variable name. They are not inserted in the cube .fits files.

Note that the first returned string is information about the success or failure of the requested irc command. The value of the requested dd variables are returned in the starting in the second string (Resmsg[1]).

An example of a list of requested dd variables is:

#Make sure to don't leave spaces between the separator and the next field. Also, add a newline at end of file.
#Format(Fits information optional):
#
# Added rotation angle for LDG  DLM 6may09
#
#DD entry[,FITSKEY,DATATYPE,COMMENT] (to conform to FITS standard, the max length of FITSKEY must be 8 chars).
pcs.preset.preset_RA.RAString,RA,TSTRING,Target RA
pcs.preset.preset_DEC.DECString,DEC,TSTRING,Target DEC
pcs.preset.pa,POSANGLE,TDOUBLE,Position Angle
pcs.pointingStatus.achieved.achieved_RA.RAString,ACH_RA,TSTRING,Target RA
pcs.pointingStatus.achieved.achieved_DEC.DECString,ACH_DEC,TSTRING,Target DEC
pcs.pointingStatus.achieved.pa,ACH_PA,TDOUBLE,Position Angle

-- DougMiller - 2009-09-17
Topic revision: r2 - 17 Nov 2009, LucaFini
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding AOWiki? Send feedback