Section 14: SCPI command reference
Model 6517B Electrometer Reference Manual
14-80
6517B-901-01 Rev. C / August 2015
:RANK <NRf>
This command is used to specify the median rank for volts, amps, ohms, and coulombs.
Usage
[:SENSe[1]]:VOLTage[:DC]:MEDian:RANK <NRf>
[:SENSe[1]]:CURRent[:DC]:MEDian:RANK <NRf>
[:SENSe[1]]:RESistance:MEDian:RANK <NRf>
[:SENSe[1]]:CHARge:MEDian:RANK <NRf>
:RANK?
<NRf>
1 to 5:
Specify rank
Details
The number of sample readings used for the median calculation is determined by the selected range
(1 to 5) as follows:
Sample readings = (2
R) + 1
Where: R is the selected range (1 to 5)
For example, a rank of 5 uses the last 11 readings to determine the median;
(2
5) + 1 = 11.
Each new reading replaces the oldest reading, and the median is then determined from the updated
sample of readings.
Also see
None
:MEDian commands
See also
Median filter
(on page 9-3) for more information.