NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

getdescriptionex not working in parallel proces model

Hi All,
          In parallel process model, I would like to get the description of the called step. So I make use of the function Runstate.CallingStep.GetDescriptionEx(0) in the ProcessModelPostStep sequence. TestStand is getting hanged once the control reaches that particular step. I used the same function in the Sequential Process model I didn't face any problem over there.
 
How shall I get the description of the client sequence Step? Is there any alternative way..?
 
Thanks
Arun Prasath E G
0 Kudos
Message 1 of 4
(3,397 Views)

Hi Arun,

When you modify the ProcessModelPostStep (or any other ProcessModel... callback), it only affects the particular Process Model that you modify the callback on.
Did you add the custom step to the callbacks of both the ParallelModel.seq and the SequentialModel.seq files? You might have just modified the Sequential Model and not the Parallel Model.

Also, another option you might want to persue (based on what you are trying to accomplish) would be to simply use the Sequence File callback, SequenceFilePostStep. This will affect all the process models, but only for a single sequence file.

Here is an article that discusses the differences:
KnowledgeBase 2LT9BI6E: What is the Difference Between Using a "SequenceFile..." callback and a "Pro...

Jervin Justin
NI TestStand Product Manager
0 Kudos
Message 2 of 4
(3,378 Views)
I have not been able to reproduce the hang that you describe. What version of TestStand are you using? Can you attach a simple example that demonstrates the hang?

0 Kudos
Message 3 of 4
(3,335 Views)
Hi Arun,
 
I just wanted to touch base with you to see if you have tried my suggestions and if you had success with them.

If not, let us know so that we can look into alternative solutions.
Jervin Justin
NI TestStand Product Manager
0 Kudos
Message 4 of 4
(3,266 Views)