LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

type casting an array as element

Solved!
Go to solution

Hello all,

 

I'm relatively new to labVIEW and I would like your help with something.

 

Let us say I have an array of two I16 elements. I would like to type cast it into one single U32 element. In C, I could simple read it as a U32 or use pointers to get away with it, but I don't seem to be able to find a way to do it here.

 

Cheers,

S

0 Kudos
Message 1 of 2
(2,783 Views)
Solution
Accepted by topic author solaremperor
You can, in fact, use the Type Cast function to do this. Alternately, index out the two array elements, then use Join Numbers to merge them.
0 Kudos
Message 2 of 2
(2,781 Views)