Image Not Found
Parameter python callback script doesn't work
954 2 2- WhimmY
- Member
- 18 posts
- Joined: 8月 2013
- Offline
Here is my problem, the image parameter has a callback script which updates the Json Code text parameter when its value changes, but when the image parameter is channel referenced from somewhere else or it has an expression like this $F4, the callback won't trigger unless manually changing the parameter, how to solve this problem, or is there any other way around
- Andr
- Member
- 899 posts
- Joined: 2月 2016
- Offline
- WhimmY
- Member
- 18 posts
- Joined: 8月 2013
- Offline
Andr
I think I've read somewhere that in the callback you should use the pressButton() method on the parm you want indirecty updated.
I' e never tested it however
It is not the case in this example, the thing is the callback script never gets executed when the parameter is channel referenced or has an expression with Time, even a simple print() in that callback script will not trigger.
-
- Quick Links