LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

CtlRef information

Can I get, programmatically, CtlRef information (Class name, Control label ,ecc.) in an event structure, so as it is displayed with the probe ?

Thanks a lot at all.
0 Kudos
Message 1 of 5
(5,771 Views)
Hi,

You can use the custom probe "Control refnum Probe" or create a new one from this existing one that displays the info you need...

Hope this helps,
Cyril Bouton
Active LabVIEW Developper
0 Kudos
Message 2 of 5
(5,764 Views)
Hi, Cyril
thanks a lot for your answer,
but I intend to manage programmatically these information and not to display them.
0 Kudos
Message 3 of 5
(5,762 Views)
Sorry,

I misunderstood your question..silly me :).
Just wire a property node to the ctrl ref you got from the event structure. This will give you access to what you are looking for, exactly like the custom probes do in fact...So you can reuse part of my previous post at least, by checking out the code in the custom probe..:).

Here's an example of what I am talking about.

Regards,
Cyril Bouton
Active LabVIEW Developper
Message 4 of 5
(5,757 Views)
Fantastic.
Thanks a lot.
0 Kudos
Message 5 of 5
(5,752 Views)