Hi Guys,
What can I do to make a Test Step "CallTclScript" become a TestStep PASS/FAIL? My Tcl script executes a lot of commands in serial and ethernet ports to test my UUT and get the test result. I'm using a variable, "varResult", to send the result (pass/fail) from tcl to TestStand. I would like use only one script to set my UUT and get the results (because is more easy send comands in Tcl than in LabView), so this TestStep should be a Test PASS/FAIL.
I was using a LabView Test PASS/FAIL which executes my Tcl script. But send the variables is more difficult than in a Step CallTclScript.
I was thinking about set the variable "RunState.Sequence.Main["CallTCLScript"].Result.Error.Occurred" in Post Expressions with the value of my "varResult", bu
ts it doesn't work. Inside my script can I only get and set "Input[n]" and "Output[n]" variables or can I set, for example "RunState.Sequence.Main["CallTCLScript"].Result.Error.Occurred"?
And about use a Step CallTclScrip and a Test PASS/FAIL (None Adapter) within a Subsequence Test PASS/FAIL (Sequence Adapter)?
What do you suggest to me?
What is the best solution?
Thanks in Advanced!
Marcio Cardoso
NI Software : TestStand version 2.0