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

AVEVA™ Batch Management

Functions

  • Last UpdatedNov 03, 2021
  • 1 minute read

All of the following functions are available in the Recipe Editor. However, only the Not function is available in the Process Log Editor applications.

Function

Example

Description

Ask

Ask ("Continue?")

Used only in the Recipe Editor to ask yes or no type questions to operators.

AskDoneBy

AskDoneBy ("Continue?")

Used only in the Recipe Editor to ask yes or no type questions that require confirmation that the question has been answered.

AskCheckBy

AskCheckBy ("Continue?")

Used only in the Recipe Editor to ask yes or no type questions that require confirmation and verification that the question has been answered.

Not

Not(Ask("OK?"))

Negates the result of the Boolean expression within the parenthesis. Converts a numeric result of value greater than 1 to 0. Converts a numeric result of value 0 to 1.

WaitSec

WaitSec(10)

Used only in the Recipe Editor.

When encountered, processing is delayed by the specified number of seconds.

WaitMin

WaitMin(30)

Used only in the Recipe Editor.

When encountered, processing is delayed by the specified number of minutes.

WaitHour

WaitHour(1)

Used only in the Recipe Editor.

When encountered, processing is delayed by the specified number of hours.

SendCustomEvent

SendCustomEvent("EventName", "UserData")

Used only in Recipe Editor and is only meaningful if Batch Events are enabled. For more information on Batch Events, see AVEVA Batch Management Events

Allows a recipe to send a custom event that has a user-specified name (EventName argument) and an additional user-defined value (UserData argument). Both arguments are strings. If other data types are passed, they are converted to a string.

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