LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Maximum Character size of Front Panel indicator in LabVIEW

Hi,

 

I have a simple question that I hope somebody can answer.  Is there a maximum character size that can be displayed in a Front Panel indicator in LabVIEW?  If so, what is it?  I have a VI that is continuously reading a serial port and updating a front panel indicator, and I need to know how much text can be displayed before it either truncates or throws an error.  This is for LabVIEW 2010 SP1.

 

Thank you,

 

J Korn

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

A quick Flatten to string shows how LabVIEW stores strings {size-data} Size is a U32 so 4294967295 characters max.

 

The big thing to remember is this memory must be contiguous (and the Indicator requires a COPY) so in practice the performance hit for constantly allocating larger and larger buffers for the data and available memory impose practical limits much lower than the 4294967295 Char maximum.  Probably better to log the data to a file and maintain only the last x characters on the indicator and use the file to look a history data


"Should be" isn't "Is" -Jay
0 Kudos
Message 2 of 2
(1,988 Views)