Polybench® Reference
Counts in steps of 1.0 starting from 0 each time a sample is sent to the Any input, and resets if a pseudo-boolean true is sent to Reset input

Counter

Overview

Use this operator to count samples at the input. The value of the samples is not important.

The counter is reset if the reset input is changed from 0 to 1.

Operator ports

Input Any: Any sample type. The connection is not limited to one type of signal.

Input Reset: Floating point values

Output Count: Floating point values

Properties

Find more information about changing properties here: "Properties Viewer"

Caption
type: Word or phrase
The name of the object in the project. This name must not contain '.', '$' nor '@' characters.

For more information about the rules and usage of the Caption property, please refer to "Caption property - background and usage".

Documentation
type: See description
Optional documentation of this object. If this object is an operator, the Documentation text is displayed below the operator symbol.

Functions

Find more information about Functions here: "Operator Functions"

Reset
Resets all the counters to 0, or to the value that is specified in the ParameterValue of the function call
Parameter:
Optional reset value. Leave empty if the counters should be reset to ResetValue