gfitsio.lvlib:gfitsio-get-current-hdu-info.vi

Return the number of the current HDU (CHDU) in the FITS file (where the primary array = 1), the name of the CHDU (if it is stored in the EXTNAME keyword), and the type of the CHDU in the FITS file.


Connector Pane

gfitsio.lvlib:gfitsio-get-current-hdu-info.vi


Controls and Indicators

cerrcodeclst

error in (no error)

error in describes error conditions that occur before this VI or function runs.

cdlrn

gfits refnum

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

ierrcodeclst

error out

error out contains error information. 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.

ii32

hdu number

Number of the current HDU.

istr

hdu name

EXTNAME keyword value of the current HDU, if it exists. If it doesn't exist, this is an empty string.

ii32

hdu type

Type of the current HDU. The possible values are:

0: IMAGE_HDU

1: ASCII_TBL

2: BINARY_TBL