16-38 Return to Section Topics 6482-901-01 Rev. A / August 2012
Section 16: SCPI Command Reference Model 6482 Dual-Channel Picoammeter / Voltage Source Reference Manual
Configure and control filters
NOTE Detailed information on the average and median filters are provided in Section 4, “Filters.”
All filter commands are global and commands affect both channels simultaneously.
Average filter commands
COUNt <n>
[:SENSe[1]]:AVERage:COUNt <n>Set average filter count
:SENSe2:AVERage:COUNt <n> Set average filter count
Parameters <n> = 1 to 100 Specify average filter count
DEFault 10
MINimum 1
MAXimum 100
Query :COUNt? Query filter count
:COUNt? DEFault Query the *RST default filter count
:COUNt? MINimum Query the lowest allowable filter count
:COUNt? MAXimum Query the largest allowable filter count
Description These commands are used to specify the average filter count for channel 1 and
channel 2. In general, the filter count is the number of readings that are acquired
and stored in the filter buffer for the averaging calculation. Each aquired group of
readings yields a single filtered reading. The larger the filter count, the more
filtering that is performed.
[:STATe] <b>
[:SENSe[1]]:AVERage:[:STATe] <b>Enable or disable average filter
:SENSe2:AVERage:[:STATe] <b>Enable or disable average filter
Parameters <b> = 0 or OFF Disable average filter
1 or ON Enable average filter
Query [:STATe]? Query state of average filter
Description These commands are used to enable or disable the average filter. When enabled,
current readings are filtered according to how the average filter is configured (see
TCONtrol <name>). When disabled, the average filter stage is bypassed.
TCONtrol <name>
[:SENSe[1]]:AVERage:TCONtrol <name>Set average filter type
:SENSe2:AVERage:TCONtrol <name>Set average filter type
Parameters <name> = MOVing Moving average filter
REPeat Repeat average filter
Query :TCONtrol? Query type of average filter
Description These commands are used to control the type of average filter. The REPeat filter
places the specified number of measurement conversions into a stack and
averages them to yield a single repeat filter reading. The stack is then cleared,
and the process starts over.
The MOVing average filter uses a first-in, first-out stack. When the stack (filter
count) becomes full, the readings are averaged, yielding a filtered reading. For
each subsequent reading placed into the stack, the oldest reading is discarded.
The stack is reaveraged, yielding a new reading.