gfitsio.lvlib:gfitsio-get-num-hdus.vi

Return the total number of HDUs in the FITS file. This returns the number of completely defined HDUs in the file. If a new HDU has just been added to the FITS file, then that HDU will only be counted if it has been closed, or if data has been written to the HDU. The current HDU remains unchanged by this VI.


Connector Pane

gfitsio.lvlib:gfitsio-get-num-hdus.vi


Controls and Indicators

cdlrn

gfits refnum

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

cerrcodeclst

error in (no error)

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

idlrn

dup gfits refnum

Returns gfits refnum unchanged.

ii32

number of hdus

The total number of HDUs in the FITS file. If a new HDU has just been added to the FITS file, then that last HDU will only be counted if it has been closed, or if data has been written to the HDU.

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.