LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Get the Type (U8, U16...I64) of controls inside a Cluster

Solved!
Go to solution

Hi,

 

I have a cluster with several controls. 

I would like to get the type of each control inside of it. To get the class is ok. This is simple and all of them are Digital. But I need to know if they are U8, U16, U32 ...... I64. 

 

Any idea how to do this?

 

Paul

0 Kudos
Message 1 of 4
(3,040 Views)
Solution
Accepted by topic author PaulieQ

I got it.

 

I had to Convert the Element Refernce to Digital and then to use the property BitAccurateDataSize.

 

I lost several hours to find the solution and in 5 minutes after I had posted my problem on forum I solved it :). 

 

cluster.jpg

Message 2 of 4
(3,039 Views)

Another way I do it.

 

GetClusterTypes.png

Message 3 of 4
(3,028 Views)

Darin,

 

What you used is even better. Thanks.

 

Paul

0 Kudos
Message 4 of 4
(3,013 Views)