11-10-2021 01:16 AM
StationGlobals.test_Data=(Step.Result.Error.Occurred?Step.Result.Error.Msg:StationGlobals.test_Data)
In the above expression,i am expecting StationGlobal.test_Data=Step.Result.Error.Msg when error occurs,but i am not getting result as i expected in post expression
11-11-2021
04:47 PM
- last edited on
11-04-2024
09:03 AM
by
Content Cleaner
If you look at the step actions here: https://www.ni.com/docs/en-US/bundle/teststand/page/step-execution.html
At the bottom of the page it describes what happens when an error occurs. My guess is that your post expression is not actually being evaluated.
Hope this helps,