NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Calling SequenceFilePostResultListEntry

I have a main sequence calling several sub-sequences.  The problem is that some of the sub-sequences are calling SequenceFilePostResultListEntry and some of them do not (I need them all to call it).  I have got a couple of the problem subsequences to call the SequenceFilePostResultListEntry by enabling result recordings, however, I have one that I have not found the combination.  Does anyone have any ideas on what I am missing?
Thanks in advance
Mike
 
0 Kudos
Message 1 of 13
(6,271 Views)
Hi Mike,
 
It deals with Pass/Fail. Just a set a BreakPoint in the Callback an take a look into the parameter list. 
 
1. Check if step is  SequenceCall
2. Then with Parameters.Result.TS.SequenceCall.Sequence --> This is the of your sequence. Do your filter stuff
 
 
Greetings
 
Juergen 
--Signature--
Sessions NI-Week 2017 2016
Feedback or kudos are welcome
0 Kudos
Message 2 of 13
(6,260 Views)
Juergen,
Thanks for your time.  The problem I am having is that the callbacks are not being called, i.e. when I set a breakpoint in SequenceFilePostResultListEntry, the breakpoint is never reached.  When I look in the Edit - Sequence File Callbacks, the SequenceFilePostResultListEntry is present.  As a further hint on what might be going on, in my main sequence, I tried deleting the SequenceFilePostResultListEntry callback and then re-adding it.  At that point, the SequenceFilePostResultListEntry was never called in any of the subsequences.
Thanks for your help,
Mike
 
0 Kudos
Message 3 of 13
(6,252 Views)
Hi mike
 
Please post a small example
 
Greetings
 
juergen
 
--Signature--
Sessions NI-Week 2017 2016
Feedback or kudos are welcome
0 Kudos
Message 4 of 13
(6,247 Views)
I have attached a example (assuming Murphy has left the building).  You should see that SequenceFilePostResultListEntry is called in the first sub-sequence but not in the second one.
Thanks for your help,
Mike
(Note:  This was made using 3.1)
 
0 Kudos
Message 5 of 13
(6,240 Views)

Hi Mike,

I got it running. I think there is not need to attach it back.
Just do a right click on SiTF Uniformity or make the view active on it.

Now select (if are on View: Edit -> ) Sequence Properties -> Uncheck : Disable Result Record  for all Steps

That all

Greetings from the lake of Constance, Germany

Good night

juergen

 



Message Edited by j_dodek on 02-22-2008 03:35 PM
--Signature--
Sessions NI-Week 2017 2016
Feedback or kudos are welcome
Message 6 of 13
(6,226 Views)

Hi Juergen,

Thanks for your help.  Your suggestion did work for that case, however, I had another sub-sequence where that did not work.  I have attached a stripped down version of that test.  Any ideas,

Thanks in advance,

Mike

 

0 Kudos
Message 7 of 13
(6,196 Views)

Hi Mike,

Yes. If you take a look into the reference manual(pdf) on chapter 3 there is a table 3-4 that shows happens while a step performs
Now you see that PostAction(28) is done before  the ResultListCallback(32). Unfortuantely in PostAction you force a CleanUp. Do the PostAction in seperate next step.

Greetings and good night

juergen

 

 

 

--Signature--
Sessions NI-Week 2017 2016
Feedback or kudos are welcome
0 Kudos
Message 8 of 13
(6,190 Views)

Hi Juergen,

I must have stumbled onto a good one.  Here is a stripped down version of the same test where the callback is made despite the post action.  I can't see what is different between this one and the last sample I sent.  It is likely something simple, but I can't see it.

Thanks for your time.  It is very much appreciated.

Mike

 

0 Kudos
Message 9 of 13
(6,181 Views)

Hi, Mike

Here the problem is that result recoding for the SequenceCall step  "Startup Camera Core" is disabled.

Activate it in StepSettings->RunOptions->Set Check to Record Result

It seems that what i wrote in prevouis answer was wrong and all the stuff is performed. Even if the the action is goto cleanup. Good know.
But knowledge about  the stuff from Table3-4 is well, because here you can see whats going on Smiley Wink

Greetings

Juergen

 



Message Edited by j_dodek on 02-27-2008 01:39 AM
--Signature--
Sessions NI-Week 2017 2016
Feedback or kudos are welcome
0 Kudos
Message 10 of 13
(6,164 Views)