NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Can you hide specific Test Sockets while leaving others visible?

Scenario: Using the Batch Process Model with 4 Test Sockets.
Question: Is there a way to Hide specific Test Sockets while leaving others visible. For instance, can you hide Test Sockets 1, 3 while leaving Test Sockets 0,1 visible?
 
Thanks,
Ron

Message Edited by RGarron on 02-09-2006 02:25 PM

0 Kudos
Message 1 of 3
(3,069 Views)
Hi Ron,

Yes it is possible, however a little tricky.
To allow individual test sockets to be visible/hidden, requires an update to the Batch Process Model.
The "Hide Executions?" Step in the "Initialize TestSocket" Sequence in the Batch Process Model needs to be skipped/executed to make visible/hidden for each test socket.

I've attached an example with  3 files.

BatchModel_Hide_Individual.seq
ModelSupport_mod.seq
Test Hiding.seq

I've updated the ModelOptions data type to ModelOptions_Mod to include an array of boolean for hidden/visible test sockets.
This data type is also used in ModelSupport.seq, So I've had to include a modified version of that with the new data type.
This is the only change in this file from the origional NI one.

In the BatchModel_Hide_Individual.seq, I've updated the "Get Model Options" & "Initialize TestSocket" sequences to use the updated data type.
I've added "***UPDATED" to the comments field of all the steps I've modified.

Finally the Test Hiding.seq is an example test sequence.
By creating a "ModelOptions" callback in this sequence you can make visible/hidden indivitual test sockets by setting the propertie
Set Parameters.ModelOptions.HideIndividualExecutions[ TEST SOCKET NUMBER ]
True = Hidden
False = Visible

I hope this makes sense.
Let me know if you have any more questions.

Message Edited by Simon Holman on 02-10-2006 03:37 PM

Simon Holman
Software Engineer
Certified LabVIEW Developer
Certified TestStand Developer

measX GmbH & Co. KG.
http://www.measx.com
0 Kudos
Message 2 of 3
(3,059 Views)

Simon

Thanks for the quick response and the detailed information. I will give it a try.

Ron

0 Kudos
Message 3 of 3
(3,045 Views)