LabVIEW Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
TiTou

improve the "cluster to array" primitive

Status: New

When a cluster contains refs to different type of controls that have a common ancester, the "cluster top array" primitive should be able to handle it instead of having a broken wire.

 

Example_VI_BD.png

 

Indeed, if the lower snippet works, one can assume that it shouldn't be too hard to get the upper one to work as well when possible.


We have two ears and one mouth so that we can listen twice as much as we speak.

Epictetus

Antoine Chalons

4 Comments
TiTou
Trusted Enthusiast

by the way there is a discussion on LAVA about that, where I also describe my use case.

 

Clipboard01.png


We have two ears and one mouth so that we can listen twice as much as we speak.

Epictetus

Antoine Chalons

jgcode
Active Participant

Side chatter on LAVA can be found here.

Certified LabVIEW Architect * LabVIEW Champion
AristosQueue (NI)
NI Employee (retired)

For the record, this already works for LabVIEW classes, so the code support for refnums with hierarchy should exist already.

 

Already in LV:

CtoA.png

Snamprogetti
Active Participant

you don't need refs to meet this problem... even a cluster containing a I32 and a DBL can't be directly converted to a DBL array. kudos