unicorn Posted November 22, 2013 Report Share Posted November 22, 2013 I have got a ring and an enumeration control on the front panel which do not generate value change events. Both are embedded in two different XControls. One XControl is loaded with a VI in a Subpanel. The other XControl is straight on the front Panel an has got some splitter bars. Other Controls on the related XControls work fine and generate their value change events if the user changes their values. Does anyone have a clue what going on? Quote Link to comment
Yair Posted November 25, 2013 Report Share Posted November 25, 2013 Does anyone have a clue what going on? Not without code to look at (although both XControls and subpanels don't always behave like people expect them to). Quote Link to comment
unicorn Posted November 25, 2013 Author Report Share Posted November 25, 2013 What are the special pitfalls when "XControls and subpanels don't always behave like people expect them to"? Quote Link to comment
Yair Posted November 25, 2013 Report Share Posted November 25, 2013 I can't give you a full list (because I don't know it), but for instance: Facade VIs only act when there's an event they're registered for. Resize events not being processed in subpanels. Failing to register for events in a subpanel, because you do it when the FP is closed. Like I said, code. Quote Link to comment
hooovahh Posted November 25, 2013 Report Share Posted November 25, 2013 What are the special pitfalls when "XControls and subpanels don't always behave like people expect them to"? XControls are wonkey at best. Every time I try to make one I find my self coding around issues with them. I'm not saying this is one or not I just haven't had good experience with them. One time I remember having a system Ring control that I had some difficulty with for updating items, and allowing a right click menu. I can't remember what didn't work about it but as soon as I replaced it with a classic Ring it all worked fine. I posted this issue at NI when I had it but it didn't go anywhere. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.