ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Memory question

Hello there,

I've got the following problem.

I'm writing 1600 items approx. to a list box.
The items are stored in a text array. The text array is initialised once
and then filled by means of a loop structure.

My problem is: When filling the text array with 1600 items (about 15
characters each)
the system memory will use up to 10 MB. Is there something wrong?

Thanks

Klaus
0 Kudos
Message 1 of 2
(2,602 Views)
Depending on how you do that. Data can be kept in wires, strings are not always cheap in memory, how many copies are present.
A quick calculation shows that 40k should be enough for pointers,length information and pure data. So maybe you can publish your vi to see what happens.
greetings from the Netherlands
0 Kudos
Message 2 of 2
(2,602 Views)