Arrays and Buffers

Measure Reading Extremes

medium

Reports the average of the lowest three and of the highest three among eight readings.

What it teaches

An average can hide a group of unusually high or low readings. Sort a working copy, then average each end of it. Keeping the source order preserves the history of how the readings were taken.

Parameters

TagDirectionTypeDefaultDescription
In_AnalyzeInputBOOL0Request analysis of the eight readings
Out_LowMeanOutputREAL0Mean of the three lowest readings
Out_HighMeanOutputREAL0Mean of the three highest readings
Ref_SamplesInOutREAL[8]Read-only eight readings

Required behavior