12-28-2009 04:09 AM
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
12-28-2009 08:37 AM
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?