LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

xcontrol property in facade vi wiring diagram not working

I am trying to implement my first XControl and am having one major issue. The XControl is composed of a multicolumn listbox and some other controls and indicators.

 

In the facade vi block diagram I am trying to set the listbox vertical scrollbar visibility to true. I have placed the visibility property node in several cases of the event structure along with setting the "Data State Change" boolean to true. When running the facade vi the scrollbar becomes visible. When I apply the XControls settings to my project and run my main vi containing the xcontrol the scrollbar never becomes visible. I have verified that the property node is being written to. So what the heck is happening wrong? Am I limited on which properties I can alter from with the facade vi?

 

Has this already been identified as a bug or am I missing something?

0 Kudos
Message 1 of 4
(2,373 Views)

Hi,

 

This is defintiely interesting.  Could you post your Xcontrol files so we can see whats going on?  Is it possible that the property node is getting reset elsewhere?

 

Thanks,

Jon S

Applications Engineer
National Instruments
0 Kudos
Message 2 of 4
(2,356 Views)

Hey Jon,

 

I found the error. It was my mistake and not labviews (as is often the case).    🙂

 

I set the xcontrols facade front panel to a certain dimension. Running the main vi I called the facade block diagram, made the scrollbar visible then increased the number of columns to display for the multicolumn listbox. By increasing the number of columns displayed for the listbox the facade front panel dimensions did not change but the listbox width did. Thus, the scrollbar seemed to never appear, when in reality it had appeared but had gone outside of the xcontrols front panel display bounds.

0 Kudos
Message 3 of 4
(2,354 Views)

Glad to hear everything worked out for you!

 

Jon S

Applications Engineer
National Instruments
0 Kudos
Message 4 of 4
(2,346 Views)