Hi, I just want to know how can I read tag.value from a Configure [On click Actions] script.
I'm trying some functions but I'm not sure which one is the right one.
Please, check the printscreen attached
Could you type a sample here?
Regards,
Leandro
The manual is fairly clear. Note that for this function you need to supply the tag paths as a list.
Create the list of tags and then call them all in one go. It's much more efficient.
https://docs.inductiveautomation.com/display/DOC81/system.tag.readBlocking
You should probably be using the onActionPerformed
event. There's a slight difference. For example, the onClick
event is triggered even if the component is disabled.
1 Like
Also please provide your script as a formatted snippet in the future - never a screenshot. Troubleshooting an image should your script need changes never works well.
1 Like