IEEE-488 Reference
3-103
The number of readings that are averaged by the filter is set with the :AVERage:COUNt com-
mand. The :AVERage[:STATe] command is used to enable or disable the filter. Changing the
filter type disables auto filter.
PRINT #1, "output 16; :volt:dc:aver:tcon rep; tcon?" ' Select repeating
filter
PRINT #1, "enter 16" ' Get response from 2002
:COUNt <n>
[:SENSe[1]]:CURRent:AC:AVERage:COUNt <n> Specify filter count for ACI
[:SENSe[1]]:CURRent:DC:AVERage:COUNt <n> Specify filter count for DCI
[:SENSe[1]]:VOLTage:AC:AVERage:COUNt <n> Specify filter count for ACV
[:SENSe[1]]:VOLTage:DC:AVERage:COUNt <n> Specify filter count for DCV
[:SENSe[1]]:RESistance:AVERage:COUNt <n> Specify filter count for Ω2
[:SENSe[1]]:FRESistance:AVERage:COUNt <n> Specify filter count for Ω4
[:SENSe[1]]:TEMPerature:AVERage:COUNt <n> Specify filter count for TEMP
<n> = 1 to 100 Specify filter count
DEFault 10
MINimum 1
MAXimum 100
: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
These commands are used to specify the filter count. In general, the filter count is the number
of readings that are acquired and stored in the filter buffer for the averaging calculation. The
larger the filter count, the more filtering that is performed.
PRINT #1, "output 16; :volt:dc:aver:coun 20; coun?" ' Set filter count
PRINT #1, "enter 16" ' Get response from 2002
[:STATe] <b>
[:SENSe[1]]:CURRent:AC:AVERage[:STATe] <b> Control filter for ACI
[:SENSe[1]]:CURRent:DC:AVERage[:STATe] <b> Control filter for DCI
[:SENSe[1]]:VOLTage:AC:AVERage[:STATe] <b> Control filter for ACV
[:SENSe[1]]:VOLTage:DC:AVERage[:STATe] <b> Control filter for DCV
[:SENSe[1]]:RESistance:AVERage[:STATe] <b> Control filter for Ω2
[:SENSe[1]]:FRESistance:AVERage[:STATe] <b> Control filter for Ω4
[:SENSe[1]]:TEMPerature:AVERage[:STATe] <b> Control filter for TEMP
<b> = 0 or OFF Disable the digital filter
1 or ON Enable the digital filter
[:STATe]? Query state of digital filter
These commands are used to enable or disable the digital averaging filter for the specified func-
tion. When enabled, readings will be filtered according to how the filter is configured.
PRINT #1, "output 16; :volt:dc:aver on; aver?" ' Enable filter
PRINT #1, "enter 16" ' Get response from 2002
Program fragment
Parameters
Query
Description
Program fragment
Parameters
Query
Description
Program fragment