Command Reference 8-97
:FUNCtion
8 ‘<Measuring function>[_<Primary channel> [,<Secondary channel>]]’
Select Measuring Function
Selects which measuring function is to be performed and on which channel(s) the
instrument should measure.
Parameters:
<Measuring function> is the function you want to select, according to the SENSe subsystem
command trees on page 8-91.
<Primary channel> is the channel used in all single-channel measurements and the main
channel in dual-channel measurements.
<Secondary channel> is the ‘other’ channel in dual-channel measurements. Only the primary
channel may be programmed for all single channel measurements.
+
The measuring function and the channels together form one <String> that must
be placed within quotation marks.
Returned format: “<Measuring function>_<Primary channel>[,<Secondary channel>]”¿
Example Select a pulse period measurement on input A (channel 1):
Send ®
:FUNC 8 ‘PER 8 1’
*RST condition: FREQuency_1
Complies with standards: SCPI 1991.0, confirmed.
:FREQuency :REGRession
8 ON|OFF|AUTO
Smart Frequency
Despite its name, this command also applies to Period Average.
By means of continuous time stamping and linear regression analysis, the resolu
-
tion compared to a “normal” reciprocal counter is improved by one or two digits for
measuring times between 200 ms and 100 s.
Not all combinatons of settings will work:
In local mode (front panel control), this function may be overridden by the firmware:
Measurement time < 16 us: On is changed to Auto(Off)
Measurement time > 2.5 s: Off is changed to Auto(On)
External arming: On is changed to Auto(Off)
An info box pops up explaining this.
In remote mode (bus control), no consistency checks are made until you try to is
-
sue an INITiate command. If, at that time, the settings are inconsistent, you get a
"Settings conflict" error, and the measurement will not start.
*RST condition: AUTO