NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Disabling Controls in the Full Featured User Interface

Hi Ppl,

 

I do not want few controls (variables view, stack view) to be displayed in my full featured User Interface. What is the best way to do this. Are there configuration parameters(UserInterface.xml) that could make these controls  in visible. Or Should these controls be make in visible only through the Visible Property.

 

Thanks 

0 Kudos
Message 1 of 6
(3,969 Views)
Why don't you just delete them if you don't want to use them? You would have to modify some of the subVIs such as the Configure ExecutionView Manager. Look at the simple OI example where these controls are not used.
0 Kudos
Message 2 of 6
(3,963 Views)

Hi Dennis,

Will Deleting the controls solve the purpose ? I tried moving the controls from the visible part of the front panel. but when the code was run the controls came back to their original position. Then I discovered that the full featured user interface has some code to set the position,size etc of the controls. This part of the code also checks the number of controls present. So I was wondering if just editing the configuration alone could disable the controls.

 

Thanks 

0 Kudos
Message 3 of 6
(3,957 Views)
I don't know what affect the xml file has. If you never want to use the controls, then deleting them will serve the purpose.
0 Kudos
Message 4 of 6
(3,949 Views)

Deleting the controls didn't serve the purpose. There are lot of VI's using the deleted control references. So at each node I have to modify the code. Is there a better way to do this ?

 

Thanks 

0 Kudos
Message 5 of 6
(3,930 Views)

Maybe you find this link quite useful...

 

hope this helps,

Norbert

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 6 of 6
(3,927 Views)