From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Checking the memory available on the hard drive

Hi

 

I have written code to store large amounts of data around a number of infrequent events. However I want to make sure that this storage will not affect the performance of the machine.

 

Therefore I wish to wire in the memory available on the hard drive of the machine into the VI to help to decide if data should be stored.

 

Can anyone be of assistance.

 

Kindest regards

MAC_D

0 Kudos
Message 1 of 5
(4,129 Views)

Hi, Use Get Volume Info.  Something like that:

Andrey

Message Edited by Andrey Dmitriev on 12-03-2008 02:04 PM
Download All
Message 2 of 5
(4,118 Views)

Hi

 

You should look at the  "Get Volume Inf"  Vi under the File I/O --> Advanced File function (certainly there in LabVIEW 8.2.1)

 

From LabVIEW Help 

 

Get Volume Info

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.

 

 

Edited  sorry posted at the same time as Andrey  

Message Edited by danny_t on 12-03-2008 01:07 PM
Danny Thomson AshVire Ltd
Message 3 of 5
(4,114 Views)

that did the trick thanks lads

 

0 Kudos
Message 4 of 5
(4,100 Views)

MAC_D wrote:

that did the trick thanks lads

 


sorry but I had to reply, its been such a long long time since anybody called me a "lad" .... I am feeling quite good now

Danny Thomson AshVire Ltd
0 Kudos
Message 5 of 5
(4,091 Views)