-
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
In the display builder, a re-load is a complete shutdown and re-initialization start of a display. In general, scripts should be avoided. A script should certainly not "do" anything. Scripts in displays need to be idempotent and only perform minor tasks related to the actual display, like transform received data from several PVs into a formatting suitable for a table. A script should never "do" something like write to PVs to perform automation or protection functionality. |
Beta Was this translation helpful? Give feedback.
In the display builder, a re-load is a complete shutdown and re-initialization start of a display.
In general, scripts should be avoided. A script should certainly not "do" anything. Scripts in displays need to be idempotent and only perform minor tasks related to the actual display, like transform received data from several PVs into a formatting suitable for a table. A script should never "do" something like write to PVs to perform automation or protection functionality.
If opening a display N times, including N instances of CS-Studio running in parallel or re-opening a display N times poses a problem, or if closing a display means you lose control system functionality because you depend…