06-01-2016 07:27 AM
In the attached example, I'm having trouble figuring out why the references Traverse G - objects.vi returns for typedefs do not have the control name embedded in variant data when they are registered for Value Changed Events (enabled diagram). It seems to work fine for controls that are not typdefs. If I explicitly find the controls using VI panel properties (disabled diagram), everything works fine but I have situations where the traverse Gobjects would be preferred since it can go through nested tabs / controls etc. Am I missing something simple?
Note crossposted at LavaG post
06-03-2016 12:51 AM
bean123,
I looked at your VI and the behavior reproduces on my computer as well. I'll look into filing a bug report with our R&D department. Does this only happen with the event structure? It looks like if you just get the control references outside the event structure, they come out fine.
06-08-2016 07:23 PM
I haven't seen it in other scenarios but I haven't really looked.
06-09-2016 04:00 AM
@HizNI wrote:
[...]Does this only happen with the event structure? [..]
It has to be connected with the value data node (old and new alike) of the event structure. Any combination i tested where i copy the control reference (even upcast as GObject) or read the value and copy it (as variant, as value) outside of the event structure keeps the information.
Norbert