NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Modify example Simple UI for 2 sockets

Solved!
Go to solution
Hi Gentelmen, I'm trying to modify the sample application 'simple labview UI' from one socket to two, but after I likely did, I have just second executionview displayed the running socket while the frist executionview left blank(grey). attached the picture. Relatively, the combo box on the top of the executionview is also blank.(however, if you click the combo, and select right socket, the first executionview will display the right running sequence). Please someone check my code, to see my mistakes, thanks.
0 Kudos
Message 1 of 6
(5,190 Views)

I don't see an attachment.

 

Pulido Technologies LLC

0 Kudos
Message 2 of 6
(5,180 Views)

forgot, thanks for reminding me

0 Kudos
Message 3 of 6
(5,158 Views)

An example piece of code was posted a few months ago on this:

http://forums.ni.com/t5/NI-TestStand/Get-the-TestSocket-index-in-a-Custom-OI-built-in-labview/td-p/3...

 

I haven't tried this in your code, but I believe that you can use the Parameters.TestSocket.Index value to choose between your two ExecutionView references.  

 

Pulido Technologies LLC

0 Kudos
Message 4 of 6
(5,149 Views)
Solution
Accepted by topic author WD1978

I tried integrating that code and it works great with an example parallel sequence.  Specifically look at my implementation of "DisplayExecution Event Callback.vi".  I hope this solves your problem.

 

Pulido Technologies LLC

0 Kudos
Message 5 of 6
(5,145 Views)

thanks a lot.

it works.

BR

WD

0 Kudos
Message 6 of 6
(5,004 Views)