NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

stationprestep not executing in stationcallback.seq?

Hi,

I did some examples to get more familiar with callbacks.
I'm not sure if there's a setting I'm not aware of or anything, but here's the scenario I have difficulty explaining.

I have a Process Model (PM) with an Entry Point containing one sequence call step calling PreUUT in CurrentFile.
There's also a sequence callback called PreUUT in the PM containing one message pop-up.

In the StationCallback.seq, I have enabled the StationPreStep Callback with a message pop-up in it.
There's also a sequence called PreUUT with one message pop-up.

When I start an execution on the EntryPoint by clicking "Run Start", this happens:

StationPreStepCallback (before SequenceCall)
[Enter PreUUT of StationCallback.seq]
Message pop-up is executed.
[Exit PreUUT of StationCallback.seq]
[Exit Entry Point]

How come there's no StationPreStepCallback executed before the Message pop-up? Shouldn't it be "Before the engine executes each step in any sequence file." like the TS reference manual indicates?

Thank you.

mat-pm is the process model I used
Download All
0 Kudos
Message 1 of 2
(2,998 Views)
Hey Mat,

I downloaded the files that you uploaded, and I didn't not any steps in the StationCallbacks.seq.  Also, are you making mat-pm.seq your station process model?  If not, the PreUUT callback inside StationCallback.seq applies to the current station model instead.  StationCallbacks.seq also needs to be located in <TestStand>\Components\User\Callbacks\Station\ folder for it to be called correctly.  Lastly, are you using a blank sequence file to call the Start entry point, because calling the entry point from a stationcallback does not give the same behavior as calling the Start entry point from a normal sequence file.  I hope this helps!
Best Regards,
Software Engineer
Jett R
0 Kudos
Message 2 of 2
(2,981 Views)