NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

How to specify expression path for the sequence UUT call?

Halo,
I need to dynamically choose a sequence to run it in New Execution as a UUT test.

There is an option to do it (please se the attachment) but it doesn't work.

It works but for SequenceCall-->SpecifyModule-->Multithreading and Remote Execution-->None.
I have to use SequenceCall-->SpecifyModule-->Multithreading and Remote Execution-->Run Sequence in a New Execution.

I was trying to use Examples\Callbacks\PreUUTCallback\ -- but I don't think that this is the best solution.
I wonder if I could be done in a simple way like I in attachment.

I'm asking for help. Thanks.

Message Edited by pruk on 01-08-2007 03:46 AM

0 Kudos
Message 1 of 6
(3,722 Views)
Hi pruk,

I tried running the attached files and received an error when it tried to load your custom process model (since I do not have it):
"C:\\Program Files\\National Instruments\\TestStand 3.5\\Components\\User\\Models\\TestStandModels\\SequentialModel.seq"

After that, I opened the settings under Multithreading and Remote Execution and selected "Use process model of the specified client file" for the "Process Model Option". I was able to call the sequences successfully with this option, but I saw no message popups - just a successful report page.

Would it be acceptable to use this option? If not, could you attach your process model so I can try running the main sequence with it?

Thanks,
0 Kudos
Message 2 of 6
(3,686 Views)
Hi James,
I'd noticed the same thing - the sequense ends for pass without executing. It is skipped but marked ass passed 😕 I have no idea why? No error pops up.

But what I need to achieve is to have a loop on the SequenceCall, to have a UUT test 1 or 2 or 3.seq inside the main.seq.

best regards.
0 Kudos
Message 3 of 6
(3,659 Views)
Hi pruk,

First of all, please forgive the response time to your posts - you post at very early hours in the morning (I imagine with is probably due to your location).

Regardless, I was able to call the sub-sequence successfully (including seeing the pop-up) by selecting "Do not use a process model" for the "Process Model Option". Is this an acceptable solution?

Regards,
0 Kudos
Message 4 of 6
(3,644 Views)
Hi James,

no problem 🙂 I'm on the other side of the globe 🙂

Using "Do not ude a process model" calls sub-sequence only ones. I need to loops on it.

Main.seq should run only one time, Message Popup with question should appel only one time, chosen sub-sequence should be orking as a UUt test (with PreUUT seq inside).

I know how to solve this problem in the other inelegant way (I put main.seq as a sub-sequence inside other HigherMain sequence. Main1.seq or Main2.seq or Main3.seq is called without process model from HigherMain.seq. 1.seq is called statically from Main1.seq as a New Execution UUT test, 2.seq is cales statically from Main2.seq... etc.). But I don't like this solution 😕

Best regards.
0 Kudos
Message 5 of 6
(3,634 Views)
Hi pruk,

I noticed that you are specifying "MainSequence" as the entry point to the custom process model you wrote. It is very likely that this is not a valid entry point since normally you would call "Single Pass" or "Test UUTs".

I created a new sequence that calls another sequence with "MainSequence" for the entry point and saw the same wrong behavior (the sequence "passes" the test but no message popup). When I change the entry point to "Single Pass", it works just fine.

Regards,
0 Kudos
Message 6 of 6
(3,622 Views)