gfitsio.lvlib:gfitsio-movnam-hdu.vi

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.

gfitsio.lvlib:gfitsio-movnam-hdu.vi

cstr

extname

The EXTNAME (or HDUNAME) keyword value for which to search.

cerrcodeclst

error in (no error)

Describes error conditions that occur before this VI or function runs.

ci32

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.

ci32

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.

cdlrn

gfits refnum

The file refnum associated with the file you want to access.

ierrcodeclst

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.

idlrn

dup gfits refnum

Returns gfits refnum unchanged.