NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Is "Post Action Callback" or "PostAction Callback" a real term?

Hi folks,

 

Please bear with me, as I'm being an extreme pedant. (Which, incidentally, is a requirement for most NI certification exams.)

In the course of working on one of my plugins, I'm trying to decipher how the Execution.PostResultsCallbackMask works.

 

I'm reading this page:

https://www.ni.com/docs/en-US/bundle/teststand-api-reference/page/tsapiref/postresultscallbackmaskop...

 

I read this line:

  • PostResultsCallbackMaskOption_PostAction –(Value: 128) Specifies to call PostResults callbacks with all accumulated results for all PostAction callback sequences

 

If I search Google:

site:ni.com "Post Action Callback"

I get four results. "PostAction Callback" only returns the above page.

 

One of the results is an ancient TestStand manual:

https://download.ni.com/support/manuals/373435c.pdf

 

I know what they're getting at: The odious abomination that is calling a subsequence as part of a post action.

What's the story with this term? Is it just a deprecated relic, or is it a real thing that isn't well-documented?

 

I'm thinking of submitting a diabolical exam question about "Post Action Callbacks."

 

I admit, I'm being saltier than usual with this post, but I'm told that my saltiness is relatively mild. 😁

 

Mr. Jim

 

0 Kudos
Message 1 of 5
(259 Views)

When a step in TestStand executes, one of the actions is a Post Action:

https://www.ni.com/docs/en-US/bundle/teststand/page/step-execution.html?srsltid=AfmBOoqtVK-OVqzLaxCp...

 

#32 from that chart

 

One of the options is to call a subsequence.  That sequence gets called as a Post Action callback.  

 

The flag you are looking at is asking if you want those results to be passed to the post result list processor as well.

 

Hope this helps.

jigg
CTA, CLA
testeract.com
~Will work for kudos and/or BBQ~
Message 2 of 5
(188 Views)

Hey there Jiggawax,

 

I spent so long memorizing that chart for the CTA. 😆

 

Right, I was aware that a sequence can be called as a post action, and I appreciate the time you took to honestly answer what I was asking about. My commentary was aimed more at what I perceive as an inconsistency in nomenclature.

 

(In retrospect, it was more of a commentary. I was a bit grumpy from trying to follow the code within the NI Report generator. Hence my last Idea Exchange post.)

 

I was genuinely wondering, though, if the term, "PostAction Callback" was once a thing. I guess I should just assume the standpoint, "We know what they meant."

 

In any case, thanks again.

 

Take care,

 

Jim

0 Kudos
Message 3 of 5
(36 Views)

I can only imagine the amount of hours that go into just documentation for TestStand.  It could've been a thing at one point or just what the tech writer decided to call it.  It is frustrating when we are looking for an exact term to do something, or it is called out as something, and it gets called different names at different points.

 

Hope you have a wonderful day.

jigg
CTA, CLA
testeract.com
~Will work for kudos and/or BBQ~
Message 4 of 5
(29 Views)

@~jiggawax~ wrote:

I can only imagine the amount of hours that go into just documentation for TestStand.


So true. As frustrated as I get sometimes, there's definitely more room for me to be more empathetic.

0 Kudos
Message 5 of 5
(23 Views)