From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
Hi all,
I just started with Xcontrols. I am trying to create my own Listbox and I don't want to have all the properties code in "display state change" of Facade.vi. So I put a reference of the Listbox into State 1.vi because I thought that this way I could change the properties of the control in the property Vis. But I still get "Object reference is invalid" error. Why? I initialized the reference in "Exec state change". So Why?
Thank a lot guys!
This method of having a control reference as part of state information is not something I've seen attempted before. The file that you posted didn't seem to include any of the property VI's that you refer to. Could you include an exampleof one of these property VIs?