09-17-2007 04:39 PM
I am wishing to create a simple simple Operator Interface.
How do you call an entry point like “Test UUTs” without having to click an activeX button that has been linked to the start testing command.
Or force an exit or logoff or close a seq file without having to click a button.
We have an opening screen which displays in a tree control the seq files that the operator may load and run. These are the only seq files that they may run from this simple simple Operator Interface.
We want the Operator Interface to go straight from this screen right to the UUT loop to the Identify UUT popup and entering the UUT serial number. Bypassing having to click on a Test UUT button.
Then when the operator exits the UUT loop, it returns straight back to the opening select UUT screen where they may select a new seq file or the same or exit the program all together.
Can’t see to find how to call the entry point without the use of activeX buttons.
Jim D.
09-17-2007 05:04 PM - edited 09-17-2007 05:04 PM
Test UUTS:
applicationMgr.GetCommand(CommandKind_ExecutionEntryPoints_Set, 0).Execute(true);
Single Pass:
applicationMgr.GetCommand(CommandKind_ExecutionEntryPoints_Set, 1).Execute(true);
You can use GetCommand and Execute to do anything a button or menu item does. Look at the ConnectCommand calls in the sample UI source code to see which CommandKind enumeration value is tied to a particular button.
Message Edited by James Grey on 09-17-2007 05:04 PM
09-17-2007 05:20 PM
09-17-2007 05:50 PM
09-17-2007 09:23 PM
09-18-2007 08:06 AM
09-18-2007 08:47 AM
Upon talking with tech support, we realized that you cannot use the CommandKind_ExecutionEntryPoints_Set with the applications manager control. You must use the sequence file view manager for this. If you look in the context help for teststand under command kind you will see a list that tells which command connects to which control.
thanks for the help
09-18-2007 09:38 AM