Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Manufacturing Execution System 2023 R2

Example: Configure an event script for the Utilization control

Example: Configure an event script for the Utilization control

  • Last UpdatedNov 26, 2024
  • 1 minute read

Install and embed the Utilization control into a symbol as described in:

In this example, when one of the rows in the Utilization grid is selected, a message is logged in the Operations Control Management Console Log Viewer.

Configure the Utilization control to log a message when a row is selected

  1. In the System Platform Industrial Graphic Editor, double-click the embedded Utilization control.

  2. In the animation list, click Event.

  3. In the Event list, click the SelectedRowChanged event.

  4. In the script area, type the following:

    LogMessage("User selected a row.");

  5. Save and close the Edit Animations dialog box.

  6. Save and close the System Platform Industrial Graphic Editor.

  7. Embed the symbol in a managed InTouch application.

  8. Switch to run time and log on to the software.

  9. Select a row in the grid of the Utilization control.

  10. Check the Log Viewer. The message User selected a row appears.

TitleResults for “How to create a CRG?”Also Available in