NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Hide Test UUT button in 4.1

I am looking for a property in test stand 4.1 to allow me to enable/disable Test UUT and Single Pass buttons dynamically on the RTOI.

 

Your help is appreciated.

0 Kudos
Message 1 of 4
(3,470 Views)

Hey lightbug,

 

The trick is when you connect the button to the sequencefileview manager.  Make sure you set 0 as the opt.  Then you can simply change the buttons property called Enabled to true or false depending on the behavior you want.  It doesn't make the button disappear but it does disable people from pushing it.  I couldn't find the visible property.

 

Regards,

jigg
CTA, CLA
testeract.com
~Will work for kudos and/or BBQ~
0 Kudos
Message 2 of 4
(3,450 Views)
One more thing to note is that if you read about it in the TS help you will find that button is automatically being enabled when the connection occurs.
jigg
CTA, CLA
testeract.com
~Will work for kudos and/or BBQ~
0 Kudos
Message 3 of 4
(3,449 Views)

Depending on what RTOI you're using, you may want to dim or remove the menu options for the entry point. In the process model, the Test UUTs and Single Pass Entry Point sequences have a section (Entry Point Enabled Expression:) that you can add a variable or expression that you then control through your RTOI. I believe that this will also manage access to your buttons in the same way that the permissions allow access to the Single Pass entry point.

 

-Jack

Message Edited by Capt. Jack on 09-17-2009 11:53 AM
0 Kudos
Message 4 of 4
(3,431 Views)