LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Array of variants on the input

Solved!
Go to solution

Why I cannot have an array of variats as a control?

 

After creating one I've got  error saying:

Cluster 'anything': Control contains no elements and is undefined.

 

I've developed some array manipulation code which is suitable to work with different types. Why I cannot ise variants? 

0 Kudos
Message 1 of 4
(2,911 Views)
Solution
Accepted by topic author MimiKLM

Ok,

 

My mistake.

 

I used cluster constant instead of variant.

 

Array of variants is possible.

Message 2 of 4
(2,907 Views)

Hi Mimi,

 

when you create an ARRAY you should not get an error mentioning "Cluster"…

 

I can easily create an array of variant:

check.png

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 3 of 4
(2,905 Views)

Gerd, I was 1 minute faster in spotting my mistake 🙂

 

Thanks anyway!

0 Kudos
Message 4 of 4
(2,902 Views)