10-22-2009 12:45 AM
Hello,
What is the size of a string data type. Also what is the maximum size upto which a text file can grow?
Thanks in advance
cooldude
10-22-2009 01:34 AM
Hi cooldude,
the size of a string is given back by the function "String size". Strings are dynamically managed in LabView.
The max filesize is limited by the used filesystem. FAT-based systems are limited to 4GB (or was it 2GB?), other filesystems may allow more...
10-22-2009 09:45 AM
If what you're looking for is a description of the memory layout of a string, (or any other data type) have a look in the help file section entitled "How LabVIEW Stores Data in Memory"
Rod.
10-22-2009 12:02 PM
The basic size is Length+4 bytes (size descriptor), although that can change if you use a language which uses more than one byte per character. As Rod said, looking at the documentation is the best option.