<< Click to Display Table of Contents >> Navigation: NmxDLL Referenz > API (programming interface) > Static Measurement (Non-Realtime) > NMX_StaticSetMedianDepth_1 |
This function is used to modify, enable or disable the median filter, which is applied on static measurement values.
Definition
NMX_STATUS NMX_StaticSetMedianDepth_1(
NMX_PHANDLE pHandle,
unsigned long ulMedianDepth);
Parameter
pHandle
ulMedianDepth
Number of samples, which are used to calculate their median value.
Using an odd value (3, 5, 7, ...) is recommended.
A value of 1 disables the median calculation.
Typical function call (C example)
NMX_StaticSetMedianDepth_1(pHandle, 3);
.Net DLL specific implementation
NMX_MSTATUS StaticSetMedianDepth_1(
System::IntPtr pHandle,
System::UInt32 ulMedianDepth);
Comments
The default depth is 5.
The value should not be too high. Otherwise you get a long delay.