Component: Median 32 bit (Storage)
Author | Matrix TSL |
Version | 1.0 (Release) |
Category | Storage |
Contents
Median 32_bit component
Component to calulate the median from a set of sample data. Provides the signal whilst removing any spikes caused by noise or other intermittent data.
Examples
No additional examples
Downloadable macro reference
AddSample
Adds a sample to the running buffer
Parameters
- ULONG Sample
Return value
- This call does not return a value
ReadMedian
No additional information
Parameters
- This macro has no parameters
Return value
Initialise
No additional information
Parameters
- This macro has no parameters
Return value
- This call does not return a value
Simulation macro reference
This component does not contain any simulation macros
Property reference
Data Type
This property is of type Fixed list of ints and can be referenced with the variable name DataType.
Selects if the data is signed or unsigned to allow for correct sorting of the data
Number of Samples
This property is of type Unsigned integer and can be referenced with the variable name NumSamples.
Number of samples to store and sort, ideally no less than 5.