LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Determine the size of a cluster in memory

In additional:

Here is the document How LabVIEW Stores Data in Memory

best regards,
Andrey.

Message 11 of 13
(779 Views)


tst wrote:
 
When you put all of them together in a cluster, the total amount of memory needed to hold the data in the cluster is the sum of those numbers.

This means that LV has only a Struct datatype, and not a Union datatype, like that of in C.
Am I right?
- Partha ( CLD until Oct 2027 🙂 )
0 Kudos
Message 12 of 13
(773 Views)
Yes, you're right.
For example, we have following cluster:
 
 
Then in memory this construction will be represented like this (refer to doc above):
 
 
Flattened to string cluster then looks like this:

 
I hope this explanation will be helpful for understanding.
 
Andrey.
Message 13 of 13
(761 Views)