NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Changing TS button caption

Hi all,
In my application I'm customizing the simple operator interface using LV. In the example operator interface there are buttons like 'ENTRYPOINT_1' and 'ENTRYPOINT_2' for starting the execution. When we execute the the program the buttom captions get change to 'Test UUTs' and 'Single Pass'. But in application the requirement is to set the caption something like 'Start'. Is there any way to do that? Please send me your suggestions.
 
Thanks,
Santanu
0 Kudos
Message 1 of 3
(3,477 Views)
The buttons you are talking about are ActiveX Controls, that are connected via the ConnectCommand method of the Manager Objects, and because of that the Caption is set automatically, dependent on with which command the button is connected.

To override this, you have to find the method, that connects the button that you want to change. Connect a Integer-Constant with the value of "2" to the "options" input of the ConnectCommand invoke-node. (See attached Screenshot). Now the Caption is no longer set automatically by teststand, but the caption you enter in the property browser of the button is used instead.

Hope this helps.

Message Edited by Andre_Saller on 07-07-2006 03:42 AM

Message 2 of 3
(3,476 Views)

Thanks a lot.

this is the solution i was searching for.

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