NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

How To Get UUT Information

I have a sequence that runs other sequences 4 times . When I load it in NI Testand Sequence IDE it creates 4 windows that show the steps and variables for each running socket . I would like to write a GUI myself in C# using testand API but I don;t know how to : 1. how to Get the number of socktes called from the main process ? 2. how to open 4 different step windows and show the steps in each one according to it's specific socket . Any help and guidness will be appriciable , Thanks , Avi
0 Kudos
Message 1 of 4
(3,604 Views)

Hi Avi,

 

As with any TestStand UI development, you will start with an ApplicationMgr object.  From you can use the Executions property to gain access to each of your 4 executions.  There will actually be 5 executions in the Collection but you are interested in elements 1-4.  Element 0 is the inital sequence and doesn't coorespond to one of yours.  For each execution you will need a ExecutionViewMgr.  These can be used to drive your four separate UI controls, each displaying a different execution.

 

You can find more information about these Managers in your TestStand help.  Also, I recommend taking a look at the source code for the C# User Interface that ships with TestStand.  You can find this at Start>>Programs>>National Instruments>>TestStand>>User Interfaces>>C#>>Source Code.

 

Here is a link that does implements what you described written in LabVIEW:  http://zone.ni.com/devzone/cda/epd/p/id/6139

 

Feel free to let me know if you have further questions.

0 Kudos
Message 2 of 4
(3,566 Views)

It might help to read  TestStand Reference Manual>>Chapter 9 - Creating Custom User Interfaces>>User Interface Application Styles>>Multiple Window.

 

There is also a very old example online that might still be interesting to look at:

http://zone.ni.com/devzone/cda/epd/p/id/3513

0 Kudos
Message 3 of 4
(3,561 Views)

If you are using LabVIEW, this example might be instructive too:

http://zone.ni.com/devzone/cda/epd/p/id/6139

Josh W.
Certified TestStand Architect
Formerly blue
0 Kudos
Message 4 of 4
(3,495 Views)