About named scripts
- Last UpdatedJul 16, 2024
- 1 minute read
You can add named layout scripts that are triggered by an expression or reference. The expression or reference is used to define the specified condition. There is no limit on how many expression-based scripts that you can include in a layout.
-
While True: The script runs periodically, at a specified interval (in milliseconds), for as long as the expression remains true.
-
While False: The script runs periodically, at a specified interval (in milliseconds), for as long as the expression remains false.
-
On True: The script runs one time when the expression transitions to true.
-
On False: The script runs one time when the expression transitions to false.
-
Data Changed: The script runs whenever data referenced by the expression changes. You can specify a deadband to filter out inconsequential data changes. In addition, you can specify if quality changes will also be used to trigger the script to run.
See Add a named script for more information.