|LabVIEW 2016 Help|
|LabVIEW 2017 Help|
|LabVIEW 2018 Help|
|LabVIEW 2019 Help|
|LabVIEW 2020 Help|
Owning Palette: File I/O VIs and Functions
Requires: Base Development System
Closes an open file specified by refnum and returns the path to the file associated with the refnum.
Error I/O operates uniquely in this function, which closes the file regardless of whether an error occurred in a preceding operation. This ensures that files are closed correctly.
|refnum is the file refnum associated with the file you want to close.|
|error in describes error conditions that occur before this node runs. With the following exception, this input provides standard error in functionality. |
This node runs normally even if an error occurred before this node runs.
|path is the corresponding path to refnum.|
|error out contains error information. This output provides standard error out functionality.|
Refer to the Datalog File.lvproj in the labview\examples\File IO\Datalog directory for an example of using the Close File function.