NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

NewExecution wont use supplied Process Model

Hi,
 
Im attempting to do something which should be pretty simple. As the attached image shows I am trying to use LabVIEW to begin a new execution of a supplied sequence file. Now this is working fine. However, when I attempt to use a Process model something goes wrong, I receive no errors and nothing actually happens. The path being supplied to the ModelPath is correct, and I have verified that it should be the single "\" and not double "\\". Anybody have any ideas as to what i'm missing or have wrong?
 
Many Thanks,
 
Steve
0 Kudos
Message 1 of 8
(4,205 Views)
It is probably running the MainSequence inside of the Process Model (which is empty).  Change the Sequence Name to the Execution Entry Point name (Test UUTs or Single Pass) on the New Execution call.  I haven't tested this, but it sounds like thats very likely to be the cause.

Allen P.
NI
Message 2 of 8
(4,194 Views)
Correct! Thankyou very much, this never even occured to me. 🙂
0 Kudos
Message 3 of 8
(4,190 Views)

So how do you specify the sequence to run in the sequential process model?  For example I have a sequence file A that I want to use the sequential  process model on.

0 Kudos
Message 4 of 8
(3,798 Views)

You use something like Engine.GetSequenceFileEx to obtain a reference to a SequenceFile and you pass that reference to the NewExecution method.

 

 

Regards
Ray Farmer
Message 5 of 8
(3,787 Views)

thank you

0 Kudos
Message 6 of 8
(3,784 Views)

wait, isn't that what is done here for the process model.  won't this run 2 independent exectutions if I pick the process model first and then pick the sequence?

0 Kudos
Message 7 of 8
(3,781 Views)

Ok I see what is going on now.  thank you for clarifying that.

0 Kudos
Message 8 of 8
(3,777 Views)