NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Prebatch callback override

Solved!
Go to solution

Hello,

 

In TS 4.1using  the batch process model - PreBatch has two steps

1. Tell Dialog To Get Next UUTs

2. Wait for Dialog.

 

I need to modify the step #1 but still want to use the exsisting step#2 - Wait for Dialog subsequence.

How to call Wait for Dialog subsequence step when PreBatch callback is overriden in client file?

 

Thanks.

*************************************************
CLD
*************************************************
0 Kudos
Message 1 of 5
(3,323 Views)

The easy answer is to simply copy step #2 from the model to your callback.  Should work just fine.  Everything you need will be passed to you as a parameter.

jigg
CTA, CLA
testeract.com
~Will work for kudos and/or BBQ~
0 Kudos
Message 2 of 5
(3,320 Views)

Step #2 in the model calls ProcessDialogRequests subsequence. When I copy the step from model to the callback do I not need to copy all teh required subsequence calls like ProcessDialogRequests (and then there are other subsequences also)?

 

*************************************************
CLD
*************************************************
0 Kudos
Message 3 of 5
(3,300 Views)

Also noticed that if I do copy all the required subsequence calls from model to callback then the Fileglobals start giving errors like 'FileGlobals.TestSocketExecutions'.

*************************************************
CLD
*************************************************
0 Kudos
Message 4 of 5
(3,298 Views)
Solution
Accepted by topic author lvrat

Instead of Use Current File just point it to the BatchModel.seq.  Will that work.  I haven't tested it but I assume it would.

jigg
CTA, CLA
testeract.com
~Will work for kudos and/or BBQ~
0 Kudos
Message 5 of 5
(3,293 Views)