Hello everyone,
I have a DateTime tag named “Dernier temps de reception”
(Tag path="[default]Radar/Radars/TcpRadar-2001/Communication/TCP/Dernier temps de reception")
And when my tag value change i want to call a script function named (“RadarScript.Reception()”)
its works only If i use “the Gateway Tag Change Scripts” in “Gateway Events”.
But i need to use the “Value Changed” in the “Tag Event Scripts” of my DateTime tag “Dernier temps de reception” because i will create UDTs
In “Value Changed”, i can only change tag value, or print, no matter what I do i can’t call my scripts.
Every Time i have error like this :
For trying to solve my problem:
i have try to use the Project Inheritance in order to get global script.
https://docs.inductiveautomation.com/display/DOC80/Project+Inheritance
I have try to use shared package or other,
#Scripting.ProjectLibrary.RadarScript.Reception()
#Scripting.shared.RadarScript.Reception()
#app.RadarScript.Reception()
#shared.RadarScript.Reception()
ect…
In Ignition 7.9 its look like so easy to do what i want !
https://www.inductiveuniversity.com/video/shared-scripts/7.9?r=%2Fvideo%2Fsearch%2F%3Fq%3Dshared%20script%26checked_topics%3D
I really don’t understand what mistakes i do.
Thank you for your future answers