Description | Sampled Average Filter
|
Availability |
|
savvy-SFD Graphic | |
Graphic with Parameters |
Input |
Input, Read-write, Analog (signed 16-bit integer) -327.67 % to 327.67 % The current value of Input is added to a first-in, first-out buffer at each rising edge of the Sample input. The Output is the average of samples in the buffer. The number of samples is defined by the Size parameter. |
Sample |
Input, Read-write, Boolean (signed 16-bit integer) A new sample of the Input is added to a first-in, first-out buffer at each rising edge of the Sample input. 0 = Low 1 = High |
Reset |
Input, Read-write, Boolean (signed 16-bit integer) Reset causes all values in the buffer to be reset to zero. 0 = Inactive 1 = Reset |
Output |
Output, Read-only, Analog (signed 16-bit integer) -327.67 % to 327.67 % The average of all samples in the buffer. |
Size |
Internal Parameter, Read-write, Analog (signed 16-bit integer) 1 to 12 This is the sample size for the filter. A larger size provides more filtering and a slower response. |
Preset Enable |
Input, Read-write, Boolean (signed 16-bit integer) Preset causes all values in the buffer to be set to the preset value. 0 = Inactive 1 = Preset |
Preset Value |
Input, Read-write, Analog (signed 16-bit integer) -327.67 % to 327.67 % Preset causes all values in the buffer to be set to the preset value. |