Reset Method

Measurement Studio User Interface

Reset Method

Syntax

CWStatistics.Reset

Purpose

Resets the minimum, maximum, and mean statistics. After resetting the values, the system recalculates the minimum and maximum using only values collected since the last reset.

Example

'Output the min, max, and mean
MsgBox CWSlide1.Statistics.Maximum
MsgBox CWSlide1.Statistics.Minimum
MsgBox CWSlide1.Statistics.Mean

'Reset the statistics
CWSlide1.Statistics.Reset

See Also

Minimum

Maximum

Mean

CWSlide

CWKnob