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

AVEVA™ Engineering

Example to Set and Get Status Data

  • Last UpdatedSep 05, 2022
  • 1 minute read

The example is for the case where there is one available status definition for the current element. The set of commands assigns that status to the current element, promotes it, prints out the data, and gets the current status value description into a string variable.

!myStatus = object statusData()

!myStatus.assign()

!myStatus.promote()

!myStatus.print()

!currentStatus = !myStatus.description

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