Flush File Function

LabVIEW 2018 Help

Edition Date: March 2018
Part Number: 371361R-01
View Product Info

DOWNLOAD (Windows Only)

LabVIEW 2015 Help
LabVIEW 2016 Help
LabVIEW 2017 Help
LabVIEW 2018 Help
LabVIEW 2019 Help

Owning Palette: Advanced File VIs and Functions

Requires: Base Development System

Writes all buffers of the file identified by refnum to disk and updates the directory entry of the file associated with refnum.

The file remains open, and refnum remains valid. Data written to a file often resides in a buffer until the buffer fills up or until you close the file. This function forces the operating system to write any buffer data to the file.

refnum is the file refnum associated with the file you want to flush.
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
refnum out returns refnum unchanged.
error out contains error information. This output provides standard error out functionality.


Not Helpful