NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

SeqFileLoad in BatchModel

Solved!
Go to solution

Hello,

is it correct that teststeps in SequenceFileLoad are only executed one time in BatchModel?

I have 5 batches but the steps in SequenceFileLoad are only executed one time and not for all batches. Is there an option to activate this or is it normal?

Thx

0 Kudos
Message 1 of 2
(3,161 Views)
Solution
Accepted by topic author OnlyOne

This is correct.  SequenceFileLoad does not run with the process model.  It is an engine callback.  It's not until you click TestUUTs that you kick off the batch model.  And even then if you look inside the model you won't see the executions get spawned until about halfway through the test.  So ProcessSetup and ModelOptions and some of those callbacks are still only 1 thread because they occur before the model spawns the batch of threads.

 

It doesn't make sense to spawn 5 threads in SequenceFileLoad. What are you trying to do?  Maybe there is a better way.

 

Hope this helps,

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