LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Mismatch between Static & Dynamic control refnum

I'd like to know if there could be special scenarios where the refnum for a given control using a static reference might be different from its refnum obtained dynamically (i.e. from the event structure, or Controls[] VI property node.

 

It happened to me, we have a Boolean button defined from a custom .ctl typedef. We have many of them in the VI. Most of them doesn't have the issue, the static/dynamic refnums match, but few of them has the problem, any clue why?

 

Cheers,

Jimmy

0 Kudos
Message 1 of 2
(2,661 Views)

I tested with LV2014 and it looks like the issue has been fixed.

 

Attached a 2011 VI that will behave differently in LV2011 and LV2014.

Download All
0 Kudos
Message 2 of 2
(2,634 Views)