NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Get individual test socket execution reference

Hi All,

 

Versions used: LV 2014, TS 2014, Parallel model with each DUT independently tested, Custom OI built as per need

 

I have an application where at most 8 test sockets can run at a time, independent of each other. Each DUT must be independently started, paused or aborted from LabVIEW custom OI. How do I get the individual test socket execution reference so that I can send the pause/abort command from LabVIEW Operator Interface? I tried using the FileGlobals.TestSocketExecutions array from the Parallel model (by setting "Shared at Run-time" flag), but these references seems to be changing constantly.

 

What I want to do is have a unique execution reference for each testsocket that can be obtained when the DUT is started/ even when the testsocket is spawned, store that reference in my LabVIEW code and use this execution reference when I want to pause/abort the testing in that particular socket from LabVIEW OI.

 

Thanks in advance,

Saranya

0 Kudos
Message 1 of 2
(4,210 Views)

Saranya,

 

I assume (hope) that you are using the "Test UUTs" execution entry point in the parallel model. So it seems to me that you already disabled the "UUT Info Dialog", otherwise you would have blocking functionality which requires user interaction on the UI dialog.

Please look into the Parallel Model as well as the modelsupport2.dll sources (available as CVI project in TS model folder) how the synchronization is done there.

Hint: There is a queue....

 

Also, i hope that you mixed abort with termination. I highly recommend you to never abort executions.

 

Norbert

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 2 of 2
(4,157 Views)