12-05-2005 12:18 PM
12-05-2005 01:19 PM
Begin Sequence: MainSequence
(C:\Program Files\National Instruments\TestStand 3.1\PlugInDemo\OptionSequence2.seq)
Step Status Measurement Units Limits Low Limit High Limit Comparison Type OptionSequence2 Passed Report Text: This is a comment End Sequence: MainSequence
07-06-2006 02:39 AM
Hi,
I was just wondering that if anyone would know how to make this expression to work with numeric limit test.
Example:
On pass = no report text
On fail = some informative text
I did get this working with pass/fail test but not in numeric test
07-08-2006 11:51 AM
Hi,
You would have to perform the limit checking earlier to be able to set the reporttext. maybe in the post expression and something like this:
(
CheckLimits(Step.DataSource == "Step.Result.Numeric" ? Step.Result.Numeric : (Step.Result.Numeric = Evaluate(Step.DataSource)), step.limits.high, step.limits.low, Step.comp)=="Passed")?( Step.Result.ReportText="New Text"😞 (Step.Result.ReportText="Old Text")The problem with this is you are checking the result twice.
You could try using the Callback "SequenceFilePostStepFailure". Then you could use and expression step and set the step result reporttext as such.
Parameters.Step.Result.ReportText = "This test failed"
The problem with this is it affects every step, but its probably the way to go.
Regards
Ray Farmer