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

Design

  • Last UpdatedJun 25, 2024
  • 1 minute read

The fields in the graphic have a Value Display link to custom properties that link to the corresponding SRO attribute through scripting. Initially, the custom properties map to me.RecentSample01.xxx, where xxx is the corresponding object attribute.

If the SRO has more than one recent sample exposed, then the Next and Previous buttons will move through the exposed RecentSampleYY attributes. The script does check the RecentSample.NumberofRecentSamplesToView property to know when it has reached the end of the list and restart at one. There is also an entry field to provide a specific Recent Sample group and a Refresh button to get the values. All the buttons' scripts make use of the SetCustomPropertyValue script function to redirect the custom properties in the graphic to the correct SRO attributes.

The Find Current Sample script cycles through all the RecentSampleYY.RequestedTime attributes to find the most current one. This script might need to be called twice when the graphic is first opened to allow time for all the attributes to be bound by the graphic.

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