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

AVEVA™ Historian

IFBAD

  • Last UpdatedMar 20, 2025
  • 1 minute read

The IFBAD() function replaces values from the input stream that have a bad OPC Quality with an alternative value.

Syntax

Format

Stream = IFBAD(Stream, AltValue)

Arguments

Stream - A stream of values

AltValue - A replacement value

Description

Replaces every bad value in the input stream with AltValue.

Format

Stream = IFBAD(Stream, AltStream)

Arguments

Stream - A stream of values

AltStream - A stream of alternative values

Description

Replaces every bad value in the input stream with the value from AltStream at the corresponding time.

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