altenbach wrote:
> (The previous example (using 4.x type cast) is actually slightly
> flawed, because for some reason it only produces even sized output
> arrays (why???) so you would need to trim the resulting array as a
> function of the input array size.)
LabVIEW 4 booleans were 16 bit integers with the most significant bit
set to indicate 1 and cleared to indicate 0.
Boolean arrays were bit packed, whereas in LabVIEW >= 5.0 they are just
arrays of 8 bit values with only the least significant bit used. LabVIEW
4 behaviour was to pad any boolean array to 16 bits as 16 bit integers
was the base type of skalar booleans.
Rolf Kalbermatter
Rolf Kalbermatter
My Blog 
DEMO, Electronic and Mechanical Support department, room 36.LB00.390