NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

PostUUT Model callback

Hi
 
Can anyone tell me if there's an issue with including client sequence calls in the PostUUT Model callback, in TestStand 3.1? I've edited my main sequence to include the callback, and added a couple of calls just before the 'display banner' statements are executed. The calls execute ok, the banner is then displayed and the sequence ends, but in the test report it's always gives the UUT Result as 'Running' and there's no execution time. If I delete the 2 calls and copy & paste the same statements from the 2 sequences straight into the callback, everything executes as before, but now I get a Passed or Failed UUT result and also the execution time. In trying to find out why, I tried including a call to a sequence that just displays a pop-up message and nothing else, and that causes the same problem with the report as before. Is there some setting or parameter I need to check, if I include calls in the PostUUT callback or can I not do this?
 
Thanks
Bruce
0 Kudos
Message 1 of 16
(5,561 Views)

Bruce,

 You may want to try using the ProcessModelPostTest Callback instead of the PostUUT. It should at least clear up your "Running" issue.

0 Kudos
Message 2 of 16
(5,553 Views)

Thanks Kevmi2ca. Unfortunately, I can't seem to find this callback. Should it be listed when I edit the 'Sequence File Callbacks' option in TestStand?

 

0 Kudos
Message 3 of 16
(5,548 Views)

Hi,

That one is only available in the Process Model Sequence File. There should be an equivilent callback in your client sequence file.

Regards

Ray Farmer

Regards
Ray Farmer
0 Kudos
Message 4 of 16
(5,546 Views)

Hi Ray

I'm not sure which out of the callbacks I can edit, is one that's equivalent. The list that comes up for the Modal callbacks, is:

MainSequence

PreUUT

PostUUT

PreUUTLoop

PostUUTLoop

ReportOptions

DatabaseOptions

ModelOptions

TestReport

ModifyReportHeader

ModifyReportEntry

ModifyReportFooter

LogToDatabase

ProcessSetup

ProcessCleanup

Is it one of these or am I looking in the wrong place?

Thanks

Bruce

 

 

 

 

0 Kudos
Message 5 of 16
(5,533 Views)

I've discovered that if I uncheck the 'on-the-fly' option when configuring the report, my original problem with the PostUUT callback clears and the UUT result in the report, is back to 'Passed' or 'Failed' (instead of 'Running') along with the execution time. Trouble is, I would like to have on-the-fly reporting! Is there any way round this?

Thanks

Bruce

0 Kudos
Message 6 of 16
(5,527 Views)
Hi Knight2,
 
Just klick on Edit, Sequence File Callbacks then double click on SequenceFilePostResultListEntry
this should slove your task.
 
greetings
juergen
--Signature--
Sessions NI-Week 2017 2016
Feedback or kudos are welcome
0 Kudos
Message 7 of 16
(5,519 Views)
Hey Bruce,

The behavior you are seeing is interesting.  I am having a little trouble reproducing your issue; would you mind posting your sequence file along with the process model you are using (if you edited it at all).  I look forward to hearing back from you.  Thanks!
Best Regards,
Software Engineer
Jett R
0 Kudos
Message 8 of 16
(5,416 Views)

Hi Jett R,

Am I ok to post here? My sequence file calls up several others and altogether is quite big. Also, where would I need to go to find the process model? I haven't edited this, at least not intentionally.

Thanks

Bruce

0 Kudos
Message 9 of 16
(5,350 Views)

Hi,

You will find the Process Model sequence files in <TestStand>\Components\NI\Models\
TestStandModels\.

You can find this information in Appendix A of the TestStand Reference Manual.

Regards

Ray Farmer

Regards
Ray Farmer
0 Kudos
Message 10 of 16
(5,327 Views)