LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with XControl

Hello everyone, 

 

I have an xcontrol developed by someone else. I need to modify it to meet my requirement. By default, the appearance of the xcontrol is a graph. I want to set this dynamically. To be more clear I should be able to specify from my caller VI, what should be the default appearance of the xcontrol when it is loaded.

 

Thanks in advance,

cooldue 

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

There were many VIs missing from your example, so without looking too deeply, you could probably achieve what you want by creating a new property or method for "Set Display Mode" and then you would be able to programatically change the display mode from any VI.

 

In addition, you could add an Exec State change event to the Facade VI to automatically set the display mode when the host VI is run, or even use the Init VI to set the display state whenever the Xcontrol is initialized?

0 Kudos
Message 2 of 2
(2,388 Views)