Recently one of the developers on my team reported a potential issue with an Expression Tag running a project scripting function.
I have tried this on version 7.9.12 and 8.0.6, and both show the following for Quality on the Tag:
7.9.12: Evaluation Error
8.0.6: Error_ExpressionEval(“Error executing script for runScript() expression:scales.test”)
Additionally on 8.0.6 the “Last published value” of the Tag under Diagnostics has the following value:
[null, Error_ExpressionEval(“Error executing script for runScript() expression:scales.test”), Wed Jan 08 21:44:30 CET 2020 (1578516270254)
The test function looks like this:
def test():
return True
Binding that function to a Check Box’s Selected property works fine, but binding to an Expression Tag does not.
What are we missing?
Thanks.