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

AVEVA™ Plant SCADA

Using Variable Arguments

  • Last UpdatedJul 18, 2023
  • 1 minute read

When variables (such as real-time data) are used as arguments, the value of the variable is passed, not the variable itself. The following example uses the DspStr() function to display the value of a process variable at AN25:

Command

DspStr(25, "TextFont", B1_TIC_101_PV);

In this instance, the value of B1_TIC_101_PV displays. If it is a real-time variable, the number that displays depends on its value at the time.

Note: If you use double quotes around variables, for example, "B1_TIC_101_PV", the text string B1_TIC_101_PV displays, rather than the value of the variable.

See Also

Using Cicode Functions

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