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.

Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

Labview VI "Get Volume Info" returns strange (very large) values in "free"

Hello,

 

I am using on a CompactRIO 9012 the Labview VI "Get Volume Info" to get the free space available on an 8GB USB key connected to it. This VI is called at the end of a daily backup to get the status of the USB key.

 

Sometimes, it works. In this case, examples of values are: free = 7737524224, size=8003932160.

 

Sometimes, even if the backup went OK without any problem, it does not work. In this case, examples of values are: free = 1108100767744, size = 8003932160. This problem seems to occur randomly. It can happen immediately after a reset as well as after a few days of good behavior.

 

Here is a sequence of operations I performed this morning:

18/08/2008 09:05:55 (0) : RESET of CompactRIO
18/08/2008 09:07:06 (1) : Backup : finished.
18/08/2008 09:07:07 (1) : Status : free = 1108104380416, size = 8003932160
18/08/2008 10:32:06 (1) : Backup : finished.
18/08/2008 10:32:07 (1) : Status : free = 1108102348800, size = 8003932160
18/08/2008 10:33:08 (1) : Backup : finished.
18/08/2008 10:33:11 (1) : Status : free = 1108102238208, size = 8003932160
18/08/2008 10:34:03 (0) : RESET of CompactRIO
18/08/2008 10:34:14 (1) : Backup : finished.
18/08/2008 10:34:15 (1) : Status : free = 1108100767744, size = 8003932160
18/08/2008 10:52:43 (1) : Backup : finished.
18/08/2008 10:52:46 (1) : Status : free = 7737745408, size = 8003932160
18/08/2008 10:53:30 (1) : Backup : finished.
18/08/2008 10:53:31 (1) : Status : free = 7737634816, size = 8003932160
18/08/2008 10:53:34 (1) : Backup : finished.
18/08/2008 10:53:35 (1) : Status : free = 7737524224, size = 8003932160

 

What could be the problem?

 

Thanks for your answers

 

0 Kudos
Message 1 of 2
(2,991 Views)

Hi xred,

 

 

This is not a ‘normal’ behavior but it works perfectly in LabVIEW 8.6. Well if you have a previous version of LabVIEW this can arrive randomly.

    Benjamin R.


Senior LabVIEW Developer @Neosoft


0 Kudos
Message 2 of 2
(2,954 Views)