02-17-2016 09:21 PM
Hi Everyone,
"#NoValidation" works fine under TS2012 but not on TS2010. I got an error: "#" will cause a runtime error.
"#NoValidation" Is it avaiable on TS2010?
Thanks,
frn
Solved! Go to Solution.
02-18-2016 10:03 AM
TS2010 code use with #NoValidation:
On one sequence I use the following:
#NoValidation ("The abc test \"" + NameOf(RunState.CallingStep)+"\" has failed.
BETOx: " + Str(Parameters.Result.TS.SequenceCall.ResultList[2].Measurement["BETOx"].Data) + "
Palets: " + Str(Parameters.Result.TS.SequenceCall.ResultList[2].Measurement["Palets"].Data) + "
SI: " + Str(Parameters.Result.TS.SequenceCall.ResultList[2].AdditionalResults["Parameters"]["Statistics.SI [Out]"]) + "
Please select proper action?")
And in a diferent sequence I use the following:
#NoValidation (
Locals.AssyType = Evaluate( "Step.Button" + Str( Step.Result.ButtonHit,"%d") + "Label" ),
FileGlobals.AssyType = SearchAndReplace(Locals.AssyType ,"\"",""),
Locals.SeriaNum_uTypeEnum = Step.Result.ButtonHit )
but for some reason TS2010 does no like the "#" and it gives warning about "# may cause a runtime error."
Thanks,
frn
02-18-2016 12:40 PM
Hi frn,
It appears that the #NoValidation expression was a new feature added in TestStand 2012. It is listed as an Expression Language Enhancement in the TestStand 2012 Help, linked below:
TestStand 2012 New Features: http://zone.ni.com/reference/en-XX/help/370052K-01/tshelp/infotopics/2012whatsnew/#analyzer
02-18-2016 03:31 PM
Hi BvanG,
Thanks for your info! And I guess theis no other way to duplicate "Sequence Analyzer Rules" for #NoValidation on TS2010.
Thanks,
frn