Invalid Value filter (BInvalidValueFilter)

This component evaluates an input and outputs only the valid values. A value is considered invalid if it is NaN (Not a Number), it is an infinite number (+inf or -inf), or its status is down, disabled, in fault, null or stale.
Figure 93.   Invalid Value Filter properties
Image

To view these properties, double-click the block on the Wire Sheet block or the block name in the Nav tree.

Property Value Description
Out read-only value slot Outputs a filtered value.
Trend In required value slot Links from the output of other logic blocks or data sources to supply trend data to the current logic block.

Examples

Consider a numeric history with records that contain an invalid value (NaN, +inf or -inf) or null status.

Figure 94.   History table that contains invalid values
Image

The Analytic Web Chart does not plot record values, which are NaN or infinite (+inf or -inf), but does plot record values with the other status settings, including those with a null status.

Figure 95.   Invalid values in a chart
Image

This is similar to how the standard Web Chart functions when the Axis > Show Data Gaps property equals gap; however, the standard Web Chart displays a gap for any record with a null status.

Figure 96.   Gaps shown for any record with a null status
Image

An algorithm can use an Invalid Value Filter Block to filter out trend records with invalid values or statuses.

Figure 97.   An algorithm with an Invalid Value Filter Block
Image

The Analytic Web Chart using the alg:InvalidValueFilter algorithm does not display gaps at the timestamps where records have been filtered out.

Figure 98.   A chart that no longer shows invalid value gaps
Image