Jump to content

Clustersize In Bytes


Recommended Posts

I'm not sure that this will get you what you really need.

Use the Flatten to String function.

LV stores scalar data directly in the cluster, but cluster elements such as arrays, strings, and paths are stored indirectly by handles. The cluster contains a handle that points to the memory area in which LV actually has stored the data element.

A better trick is to make a new VI that has only the cluster item in it. Press Ctrl+I to bring up the properties of the VI and look at the memory usage. It will give you what the cluster itself uses, but neglects the amount of data in the arrays and strings. :thumbup:

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.