LabVIEW Idea Exchange

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

Provide Access to Full Event Data in Event Structures

Status: Duplicate

If you have an event that contains a cluster typedef, then the event structure automatically unbundles the data:_carl_0-1633037893996.png

I generally want to work with the entire typdef though. Why not expose the entire typdef to improve code maintainability?

 

(No one wants to re-bundle that data just to send it to a subVI or new event...and then risk losing data when a new property is added later.  Workarounds include adding a typdef of a typdef, or going class-based...but that overhead/creativity shouldn't be necessary.)

 

4 Comments
DrK.Jimenez-Marquez
Member

That is true!! I usually create another cluster level to get my complete typeDef in the event structure.


PhD. K.Jimenez-Marquez
Let's make it simple!
AristosQueue (NI)
NI Employee (retired)

I flagged this for the R&D team and added my personal kudos to the idea. I see the utility. And, I admit, sometimes I do use a cluster for my event data and have often wanted to receive the data as a coherent cluster. But, you know, if you use a class instead of a cluster for the event data, it stays coherent. Just sayin'.

Yours truly,

    the person who created LV classes and may be a bit biased about their use

🙂

tst
Knight of NI Knight of NI
Knight of NI
Christina_R
Active Participant
Status changed to: Duplicate
 

Christina Rogers
Principal Product Owner, LabVIEW R&D