Get Volume Info Function

LabVIEW 2018 Help


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

DOWNLOAD (Windows Only)


LabVIEW 2016 Help
LabVIEW 2017 Help
LabVIEW 2018 Help
LabVIEW 2019 Help
LabVIEW 2020 Help

Owning Palette: Advanced File VIs and Functions

Requires: Base Development System

Returns information about the volume containing the file or directory specified by path, including the total storage space provided by the volume and the amount free in bytes.

Details  

path specifies the absolute path to the file or directory whose volume attributes you want to determine. If you specify an empty or relative path, this function returns an error.
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
volume path is a new path that specifies the volume on which the specified file or directory resides.
path out returns path unchanged.
size (bytes) indicates the amount of storage, in bytes, provided by the specified volume.
free (bytes) indicates the amount of storage, in bytes, available on the specified volume.
error out contains error information. This output provides standard error out functionality.
sector size (bytes) indicates the size, in bytes, of the smallest physical storage unit on disk. If you open a file without buffering, you must make the size of the data in that file a multiple of the given sector size.

Get Volume Info Details

The volume where the file is located determines the sector size.

WAS THIS ARTICLE HELPFUL?

Not Helpful