LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Cannot not find Vi to get file size in LabView PDA Module 7.1

Hi there

I would like to get the size of a file on my Pocket Pc.
Unfortunatly I'm unable to find such a Vi in LabView PDA Module 7.1.
Don't know if there is something wrong with my LabView installation (german).

I hope you can help me.

Thanks
Stefan
0 Kudos
Message 1 of 5
(5,485 Views)
Hi Stefan,

There is no VI to get the File size in PDA 7.1.

But you can do that like in the following screenshot.

Best Regards.

Matthieu Papaux
National Instruments


0 Kudos
Message 2 of 5
(5,453 Views)
Thanks for your help Matthieu.

I also found another way to get the size of a file by using the End Of File-Vi.

Is it possible that the End Of File mark could be corrupted, when there is a power supply failure during a writing process?
My program should continue to write data at the end of the file. Any suggestions?

Is the Seek-Vi immune against this failure?

Greetings
Stefan
0 Kudos
Message 3 of 5
(5,453 Views)
Hi Stefan,

No the seek vi work like your solution. It search about the EndOfFile.

But when you have a power supply failure, your programm stop also...is that not right??
In other case you must that yourself programm and check the file.

Matthieu Papaux
AE, NI
0 Kudos
Message 4 of 5
(5,430 Views)
I don't know, couldn't there be a problem when the power fails during writing of the EOF mark?
It is very unlikely that the power fails in this short time.

In the system where we use the measurement device occurs almost never a power problem.
To make it easier I decided to overwrite the allready existing data.

But thank you anyway for your help
Greetings
Stefan
0 Kudos
Message 5 of 5
(5,405 Views)