NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

MainSequence Callback

Hi,
 
I am facing a strange problem:
 
I am trying to call the "MainSequence Callback.seq" file from the "SequentialModel.seq". For this I am trying to right click and Open sequence. But, I am getting an error message popup: "Cannot open the sequence call module file. The module sequence file path is specified by an expression that is evaluated only at the run-time". Can I get some literature related to this.
 
Thanks and Regards,
Sreedhar.
0 Kudos
Message 1 of 7
(5,565 Views)
Hi,
 


@TSreedhar wrote:
Hi,
 
I am facing a strange problem:
 
I am trying to call the "MainSequence Callback.seq" file from the "SequentialModel.seq". For this I am trying to right click and Open sequence. But, I am getting an error message popup: "Cannot open the sequence call module file. The module sequence file path is specified by an expression that is evaluated only at the run-time". Can I get some literature related to this.
 
Thanks and Regards,
Sreedhar.


What TestStand version are you using?
 
Do you have a sequence file called "MainSequence Callback.seq" or are you trying to call the sequence "MainSequence" from the SequentialModel.seq, it not clear.
 
Any way, you don't run MainSequence directly from the SequentialModel.seq, if you try to run Test UUTs or Single Pass sequences directly from SequentialModel.seq you would receive an error "This sequence Single Pass [Tests UUTs] is not intended to be executed directly". Infact, MainSequence is not a sequence that is available in SequentialModel.seq. Its only available in your own sequencefile (client file eg MySequenceFile.seq) and is the Sequence that is available when you open a new sequence file in the SeqEditor.
 
With your sequence file loaded and the sequence MainSequence is the active window, you can execute either the MainSequence in your sequence file without a process model or with a process model. If you call it with a process model you would use the ProcessModel entry point either Single Pass or Test UUTs.
 
When you execute a sequence using the process model, the process model sequence (either Single Pass or Test UTTs) will be launched, during its execution it will get to a step called MainSequence Callback. This step has a reference to your sequence file's MainSequence an therefore will start to execute your MainSequence. On completion of the execution of your MainSequence, the execution will return back to the process model sequence and complete it execution, which results in the Test Result Banner and the test report being generated.
 
You will find all this explained in the supplied documents of TestStand and in particular the TestStand User Manual.
I Hope this helps or point you in the right direction.
Regards
Ray Farmer
 
Regards
Ray Farmer
Message 2 of 7
(5,564 Views)

Hi Ray,

I learn something new with you all the time, buddy!


@Ray Farmer wrote:
 
With your sequence file loaded and the sequence MainSequence is the active window, you can execute either the MainSequence in your sequence file without a process model or with a process model. If you call it with a process model you would use the ProcessModel entry point either Single Pass or Test UUTs.


I didn't realize that you could execute the MainSequence without a process model.    Is that what happens when you select "Run MainSequence" from the "Execute" menu?

JLV (aka. "theOtheray" )


 

Message 3 of 7
(5,533 Views)
Hi JLV,
 
That's correct, but its not just the MainSequence, it applies to any Sequence that is active.
 
Regards
Ray Farmer
Regards
Ray Farmer
Message 4 of 7
(5,527 Views)

Yes...

That is what we're discovering..

We're taking the advanced TS training with Santiago.  Learning lots of tricks that may lead us away from CVI..  😉

...  now I can start having more fun with TS  😄

and having more opportunities to send you stars..  😉

Ray (aka JLV)

Message 5 of 7
(5,521 Views)
well done,
 
So, I'll look forward to see more from you in the TestStand forums, providing the answerSmiley Happy.
 
Regards
Ray
Regards
Ray Farmer
Message 6 of 7
(5,503 Views)

welll...

hummm...

I may be asking as many questions as providing answers... 😉

both at least a bit of both..

WOW..  I didn't realize the full capabilities of TestStand.  Impressive...

But I won't change my nick to JoeTS...  😄

- Ray -

(  It may get confusing with 2 Ray's in this forum 😉  )

Message Edited by JoeLabView on 03-02-2006 07:57 AM

Message 7 of 7
(5,493 Views)