Polybench® for biosignals / reference 1.34.1
Captures a constant value and issues an action with the constant value if the value changes.

Constant To Action

Overview

This operator performs an Action ("Actions - Overview") as soon as a constant floating point value changes at the input. The input value is captured and used as Value for the action.
Like the Capture Action operator ("Capture Action"), this operator provides an interface from signal processing to program control.

Operator ports

Input K: Floating point values

Properties

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

Action
type: Select from the list
Select the code of the Action that is performed when the constant value at the input changes.
Select one of those presets:


Value
type: See description [this value cannot be changed]
The value of the Action is the new constant value at the input of the operator.


Address
type: Address, starts with '$' sign (see "Address - how to address objects and variable parameters")
Fill in the address of the object that should receive the Action.

You may type or paste the address, or you may press the small button on the right to open the Address Constructor ("Address Constructor")

NumberFormat
type: See description
The way the captured value is represented as value in the specified Action, e.g.: '.1' for one digit and a decimal point, or '>,3' for a value with at most three digits and a decimal comma.

For more information about Number Format codes, please refer to "Number format codes".

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.

Details

The connection to the input of this operator must be of type Constant, must have only one channel, and must be of floating point type. The operator warns if the input conditions are not met.