Get File Size Function

Owning Palette: Advanced File VIs and Functions

Requires: Base Development System

Gets the file size of file. This function does not work for files inside an LLB.

 Add to the block diagram  Find on the palette
file can be a refnum or file path. If it is a file path, this node opens the file specified by the file path.
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
refnum out is the refnum of the file that the function read. You can wire this output to another file function, depending on what you want to do with the file. The default is to close the file if it is referenced by a file path. If file is a refnum or if you wire refnum out to another function, LabVIEW assumes that the file is still in use until you close it.
size (in bytes) is the size of the file in bytes.
error out contains error information. This output provides standard error out functionality.