NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

How to switch the execution control from .NET to TestStand?

Hello everyone,
                        I'm overriding the default parallel UUT dialog provided by Test Stand with the one being created by me using .NET. From Test Stand using Action step I'm calling the Parallel UUT dialog created in .NET. The underlying problem is, once the dialog is invoked TestStand switches its control to the .NET and the control returns back to the TestStand only if the dialog closes. In my particular problem I need the control to switch over from .NET to TestStand based on click of a button on the dialog.
 
Any help is greatly appreciated...
 
Thanks
Arun Prasath E G
0 Kudos
Message 1 of 3
(3,101 Views)
I would suggest using ActiveX calls to open and close external applications.  There are a number of CVI shipping examples that show how to do this. 

You can find these examples in CVI by going to Help>>Find Examples... then click on Communicating with External Applications>>ActiveX, and then choose the program you want to communicate with.  As you can see there are examples for Word and Internet Explorer.
Kristen
National Instruments
0 Kudos
Message 2 of 3
(3,066 Views)
Hello Arun,

Sorry about that first post, wrong forum, been a long monday.

You should try putting your action step in a subsequence, then when you call the subsequence you can set the module properties to execute the sequence in a new thread.  This option is in the pulldown box called execution options.  Then you could have a while loop with a wait in it that loops until the button on the form is pressed. 

Let me know if you have any questions about that.
Kristen
National Instruments
0 Kudos
Message 3 of 3
(3,062 Views)