Moves to the (first) HDU which has the specified extension type and EXTNAME and EXTVER keyword values (or HDUNAME and HDUVER keywords). The hdutype parameter may have a value of IMAGE_HDU, ASCII_TBL, BINARY_TBL, or ANY_HDU where ANY_HDU means that only the extname and extver values will be used to locate the correct extension. If the input value of extver is 0 then the EXTVER keyword is ignored and the first HDU with a matching EXTNAME (or HDUNAME) keyword will be found. If no matching HDU is found in the file then the current HDU will remain unchanged and an error will be returned.
|
extname The EXTNAME (or HDUNAME) keyword value for which to search. |
|
error in (no error) Describes error conditions that occur before this VI or function runs. |
|
status status is TRUE (X) if an error occurred or FALSE (checkmark) to indicate a warning or that no error occurred. |
|
code code is the error or warning code. |
|
source source describes the origin of the error or warning and is, in most cases, the name of the VI or function that produced the error or warning. |
|
extver (0:ignore extver) The EXTVER (or HDUVER) keyword value for which to search. If the input value of extver is 0 then the EXTVER keyword is ignored and the first HDU with a matching EXTNAME (or HDUNAME) keyword will be found. |
|
hdutype (ANY_HDU) The hdutype parameter may have a value of IMAGE_HDU, ASCII_TBL, BINARY_TBL, or ANY_HDU where ANY_HDU means that only the extname and extver values will be used to locate the correct extension. |
|
gfits refnum The file refnum associated with the file you want to access. |
|
error out If error in indicates that an error occurred before this VI or function ran, error out contains the same error information. Otherwise, it describes the error status that this VI or function produces. |
|
status status is TRUE (X) if an error occurred or FALSE (checkmark) to indicate a warning or that no error occurred. |
|
code code is the error or warning code. |
|
source source describes the origin of the error or warning and is, in most cases, the name of the VI or function that produced the error or warning. |
|
dup gfits refnum Returns gfits refnum unchanged. |