NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Executing TestStand Tools from a User Interface

I have developed a Tool I can execute from the Sequence Editor Tools menu.  Can I run the same tool from a custom user interface?  If so, can someone give me an overview of the UI modifications required.  I am guessing I'll have to modify the Application Manager configuration but that's about a far as I've got.
 
Regards
 
Steve
There are 10 types of people in the world that understand binary, those that do and those that don't.
0 Kudos
Message 1 of 4
(3,370 Views)
You don't have to modify anything assuming that the operator interface you are using already has a Tools menu. All of the full-featured operator interface examples have this so you can look at how it's done in one of them if you need to modify what you are using.
0 Kudos
Message 2 of 4
(3,362 Views)
What I need is a control on my UI that executes a particular Tools menu option.  We do not have a menu bar on our interface.  The Full Featured example of the UI just shows you how to implment a menu bar.
 
Regards
 
Steve
There are 10 types of people in the world that understand binary, those that do and those that don't.
0 Kudos
Message 3 of 4
(3,353 Views)
Hi Steve,
 assuming you've setup the tools menu item in the SequenceEditor itself, and you know the index (zero based) of the menu item, then from the Execution View Manager, you can do a command connection of type COmmandKind_Tools_Set, and then the uiObj is a button, like the ones used for the Entry Point buttons on teh shipping Full OI Top-Level VI.vi. The index simply needs setting to the appropriate index of the item in your tools menu. (If you only need one or two, then customise the tools menu so it's limited to only these items.
Using this method, the caption on the button will show you what tool it's linked to.
 
 
Hope that helps
 
Sacha Emery National Instruments (UK)
 
/* ratings take almost no effort at all Smiley Wink*/

Message Edited by SachaE on 03-10-2006 01:54 PM

Message Edited by SachaE on 03-10-2006 01:56 PM

// it takes almost no time to rate an answer Smiley Wink
Download All
Message 4 of 4
(3,348 Views)