Company Events Academic Community Support Solutions Products & Services Contact NI MyNI

Get Volume Info Function

LabVIEW 2013 Help

Edition Date: June 2013

Part Number: 371361K-01

»View Product Info

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.


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit