LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

file size from save to spreadsheet

This may be more of a fundamental programming/computer science question (I'm a Mechanical Engineer) but I want to know just a general correlation between the number of data points created by the Save to Spreadsheet subVI and the size of the resulting text file. Assuming each data point has about 4-5 digits in it. The reason for this is I am creating a program that saves data as it collects (via producer/consumer), but if someone accidentally leaves it running and walks away bad things can happen. I want to be able to disable the save functionality after a certain number of points have been saved to prevent a massive text file from being created.

Thanks
Tim
0 Kudos
Message 1 of 2
(2,424 Views)
If each number is 4-5 digits, then figure about 4-5 bytes per number, plus 1 for a delimiter, perhaps 1 for a decimal point.  On the conservative side round up to 10 bytes per value.
0 Kudos
Message 2 of 2
(2,421 Views)