LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to write an Array of UINT32 to binary file without array dimensions

I need to write a binary file of UINT32 without the array dimension and without running the array through a loop extracting each element - any suggestions??.

The LV "Write File" help implies that if "header" is FALSE the dimension is not written but then contracdicts itself with "LabVIEW always writes a variable-length data type below the top-level (that is, contained in the top-level data type) with a header specifying its size."
Cheers,
Wayne
0 Kudos
Message 1 of 2
(2,646 Views)
> I need to write a binary file of UINT32 without the array dimension
> and without running the array through a loop extracting each element -
> any suggestions??.
>
> The LV "Write File" help implies that if "header" is FALSE the
> dimension is not written but then contracdicts itself with "LabVIEW
> always writes a variable-length data type below the top-level (that
> is, contained in the top-level data type) with a header specifying its
> size."

What this means is that writing an array with header set to FALSE will
not write out the size, but writing a cluster of strings and arrays will
always write the sizes regardless of the header setting.

Greg McKaskle
0 Kudos
Message 2 of 2
(2,646 Views)