Sample & Hold
Overview
This operator is used to fixate the output sample values from the moment the Gate input becomes pseudo-boolean False (around 0). If the Gate is pseudo-boolean True (around 1) then the signals flow through unchanged.Please note that the Gate input is a state input and not a trigger input.
You may connect any type of signal to the Any input, but the Gate input must be a floating point (Real) value signal.
Operator ports
Input Any: Any sample type. The connection is not limited to one type of signal.Input Gate: Floating point values
Output [Any]: Any sample type. The connection is not limited to one type of signal.
Properties
Find more information about changing properties here: "Properties Viewer"Caption
type: Word or phraseThe 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 descriptionOptional documentation of this object. If this object is an operator, the Documentation text is displayed below the operator symbol.
Details
The Gate input can function as channel-to-channel, or as scalar gate. In the first case, the number of channels of Gate and Any must be equal. The Sample and Hold then functions for all related channels separately (so, the first Gate channel triggers the first Any channel, the second Gate channel the second Any channel, etc.). In the second case, the Gate input should have only one channel connected. That channel triggers all channels in Any at the same time.The Sample and Hold will issue a warning if the input configurations are not correct.
The Gate input may be connected to a feedback loop.
Read more about pseudo-boolean states here: "Pseudo-booleans and triggers".