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. |