I am trying to develop a script for an OPC type tag inside a UDT tag for in its:
Scripting > Value Events > Value Changed
I want to see the output of print()
or system.perspective.print()
or system.util.getLogger("debug").info()
or whatever else that works in this specific place for scripting
Tag value changed events execute on the gateway, so your logger information can be found here:
I want to see the output of print()
or system.perspective.print()
...
As you've discovered, you can't do that. The tag system has no idea of Console (which is running on the client PC) and no idea about Perspective or which, if any, Perspective projects are running.
... or system.util.getLogger("debug").info()
...
That's the way to do it, but give a more specific name that "debug". I suggest the name of the project and script (perhaps in abbreviated form) so that you can filter the logs to home in on the entries of interest.