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.
|
path The full path of the file you want to create. |
|
overwrite? (F:no) Determines whether the function replaces the file or returns an error if file path already exists. |
|
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. |
|
gfits refnum The file refnum associated with the new 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. |