Solution
The byte size of a cluster can be obtained programmatically by using the
Flatten To String and
String Length functions, as you can see in the following snippet. The resulting numeric value indicates the number of bytes the cluster occupies. Also, It is same way to know the byte size of other data types.
Note: This image is a LabVIEW snippet, which includes LabVIEW code that you can reuse in your project. To use a snippet, right-click the image, save it to your computer, and drag the file onto your LabVIEW diagram.