To download NI software, including the products shown below, visit ni.com/downloads.
This example shows how to display each execution and sequence file in a separate window in a C# User Interface using the .NET Multiple Document Interface (MDI) API.
The user interfaces that ship with TestStand 4.0 and later use a single window to display sequences and executions. The user must then use a ListBar control to select which execution or sequence file to display in the window.
If you prefer to display each execution and sequence file in a separate window, you can use this full featured example instead. This example creates a separate MDI child window for each execution and sequence file, providing a look and feel that is similar to the TestStand Sequence Editor.
Multi-Window Interface for TestStand 2012_NIVerified.zip
TestStand 2012 or Compatible
Microsoft Visual Studio 2005 or Compatible
.NET Framework 4.0
Multi-Window Interface for TestStand 4.0_NIVerified
TestStand 4.0 or Compatible
Microsoft Visual Studio 2005 or Compatible
.NET Framework 2.0
Example Program: NI TestStand Featured Examples
Example Program: Multi-Window TestStand User Interface Example (LabVIEW)
Example Program: Dynamic LabVIEW Subpanel in a TestStand User Interface
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.
All,
I am trying to do something similar to the above without the MDI in the equation, though. I have a parallel model set up with "two" sockets for testing two DUTs side by side. I am having trouble attaching the axExecutionViewMgr (0 and 1) to the correct socket on the screen. I have attempted watching the axApplicationManager_DisplayExecution event in order to find the correct executionID, but this is not tied to the socket and continues to increment.
In addition, i have tried programming to grab the "RunState.TestSockets.MyIndex" from the sequenceContext but it always returns zero at the above event. My test screen looks something like the attached image.
Any help would be appreciated.
Todd