Parameter python callback script doesn't work

   962   2   2
User Avatar
Member
18 posts
Joined: Aug. 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

Image Not Found

Attachments:
2023-09-20 21-30-10.mp4 (1.8 MB)

User Avatar
Member
899 posts
Joined: Feb. 2016
Offline
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
User Avatar
Member
18 posts
Joined: Aug. 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