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

AVEVA™ Plant SCADA

AlarmFilterClose

  • Last UpdatedJul 18, 2023
  • 1 minute read

This function removes the named filter from memory.

This function is a blocking function. It blocks the calling Cicode task until the operation is complete.

Syntax

INT AlarmFilterClose(STRING FilterName)

FilterName

Name of the filter

Return Value

0 (zero) if successful, otherwise an error code is returned.

Example

// This example shows how to open and close the named filter "Myfilter"
// nothing of interest is done with the filter in this example.
INT nOpenModeOld = 0;
INT nOpenModeNew = 1;
INT nOpenModeAny = 2;
INT nCloseModeManual = 0;
INT nCloseModePageChanged = 1;
INT nError;
nError = AlarmFilterOpen("MyFilter", nOpenModeNew, nCloseModeManual);
IF nError = 0 THEN

nError = AlarmFilterClose("MyFilter");

END

AlarmFilterOpen

See Also

Alarm Filter Functions

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