Opens an existing FITS file, creates a new FITS file, or replaces an existing FITS file, programmatically or interactively using a file dialog box. You can optionally specify a dialog prompt and default file name.
|
prompt The message that appears in the title bar of the file dialog box. |
|
file path (dialog if empty) The path name of the file to access. If file path is empty (default) or is <Not A Path>, the VI displays a dialog box from which you can select a file. |
|
function (open) Operation mode for the VI. The options are: open - open an existing file open or create - open an existing file or create a new one if it does not exist create or replace - create a new file, replacing an existing one, if necessary create - create a new file open (read only) - open an existing file for reading only |
|
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. |
|
default name The name you want to appear as the initial file name in the dialog box if it is displayed. |
|
advisory dialog? (display:T) Specifies whether to display notification dialogs to the user when a file is not found or would be overwritten. |
|
gfits refnum A reference to the opened or created file. |
|
new file path Path of the opened or created file. |
|
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. |