gfitsio.lvlib:gfitsio-create-file.vi

Creates a new file and opens it for reading or writing. This function cannot overwrite an existing file unless overwrite is TRUE and the existing file is not read only. If you try to overwrite a file without the correct permission, this function does not create or open a file, and the function returns an error.


Connector Pane

gfitsio.lvlib:gfitsio-create-file.vi


Controls and Indicators

cpath

path

The full path of the file you want to create.

cbool

overwrite? (F:no)

Determines whether the function replaces the file or returns an error if file path already exists.

cerrcodeclst

error in (no error)

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

idlrn

gfits refnum

The file refnum associated with the new file.

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.