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

AVEVA™ Historian

IFBAD

  • Last UpdatedAug 17, 2022
  • 1 minute read

The IFBAD() function overrides "bad" quality values with an alternative value.

Syntax

Format

Stream = IFBAD( Stream, AltValue )

Arguments

Stream - A stream of values

AltValue - The value with which to replace "bad" quality values

Description

Replaces every value in the input stream that has a "bad" OPC quality with AltValue.

Format

Stream = IFBAD( Stream, AltStream )

Arguments

Stream - A stream of values

AltStream - A stream of replacement values

Description

Replaces every value in the input stream that has a "bad" OPC quality with the value from AltStream at the corresponding time.

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