Shift Buffer
Overview
This operator shifts the contents of the fields of the input vector by a certain amount of positions. This amount is specified by the property ShiftCount.There is also a Discard property, indicating what should happen with fields that are shifted outside the vector.
Operator ports
Input V: Specific sample type, see below.Output V_shifted: Floating point value buffers
Properties
Find more information about changing properties here: "Properties Viewer"Discard
type: True or FalseA flag indicating whether fields shifted outside the vector should be discarded or not.
Select one of those presets:
True or False
True may also be read like 'yes' and false like 'no'
True or False
True may also be read like 'yes' and false like 'no'
ShiftCount
type: See descriptionThe amount of positions each field will be shifted. Any positive or negative natural number (integer) is allowed.
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.
Variable Parameters
Find more information about Variable Parameters here: "Variable Parameters"ShiftCount
type: See descriptionThe amount of positions each field will be shifted. Any positive or negative natural number (integer) is allowed
Details
If the Discard property is true, the field shifted outside the vector are discarded and new fields shifted into the vector have the value 0.If the Discard property is set to false, the fields shifted outside the vector will be copied to the other side of the vector.
If the ShiftCount property is negative, the field contents are shifted in the opposite direction.
Examples
Example: Shift Example
The shift operator shifts the input vector my an indicated amount. Examples\DF0600149_001_Shift Exmp.xmc