ni.com checkout is currently experiencing issues.
Support teams are actively working on the resolution.
ni.com checkout is currently experiencing issues.
Support teams are actively working on the resolution.
07-28-2011 10:56 AM
Hi
I need your support;
I realize a custom step type;
I insert in a post step a dll execution;
I need to execute some manipulation on the data collected;
I insert the right expression in the post-expression;
now to modify it in the newer release of my step type, I set the TS.PostExpr as Shared; but in this case seems not possible to disable this property;
my target is to execute the post-expression content in a SubStep post-step;
is it possible?
May you provide me any examples?
Thanks
Paolo
Solved! Go to Solution.
07-28-2011 11:13 AM
You don't need to use the post expression at all. Just pass the sequence context into your substep and call:
seqContext.AsPropertyObject.EvaluateEx() on it with whatever expression you want to evaluate.
Hope this helps,
-Doug
07-28-2011 11:23 AM
I need to insert 2 sub-steps to execute it.
Is it right?
Is it possible to execute it in 1 sub-step, without any additional variable to store the object reference?
Thanks
Paolo
07-29-2011 10:00 AM
I'm not sure why you would need two substeps. If you are just using the activeX adapter to call the TestStand API, you might want to instead write a code module and call that since that way you will then be able to have a significant amount of code in one stubstep.
-Doug
07-29-2011 10:06 AM
yes
you are right