Description | Batch 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) Following a reset, the output is the average of only those samples received after the reset. 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 following the last reset. |
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. |