SCPI Basics 6
Agilent N8211A/N8212A Performance Upconverter Synthetic Instrument Module, 250 kHz to 20 / 40 GHz 159
For example, with the :FREQuency:REFerence:STATe ON|OFF|1|0 command, the
N8211A/N8212A accepts :FREQuency:REFerence:STATe ON,
:FREQuency:REFerence:STATe 1, :FREQ:REF:STAT ON, :FREQ:REF:STAT 1
to turn on the frequency reference mode.
Each parameter type has one or more corresponding response data types. A setting that
you program using a numeric parameter returns either real or integer response data when
queried. Response data (data returned to the controller) is more concise and restricted and
is called precise talking.
Precise talking means that the response format for a particular query is always the same.
For example, if you query the power state (:POWer:ALC:STATe?) when it is on, the
response is always 1, regardless of whether you previously sent :POWer:ALC:STATe 1
or :POWer:ALC:STATe ON.
Numeric Parameters
Numeric parameters are used in both common and subsystem commands. They accept all
commonly used decimal representations of numbers including optional signs, decimal
points, and scientific notation.
If a N8211A/N8212A setting is programmed with a numeric parameter which can only
assume a finite value, it automatically rounds any entered parameter which is greater or
less than the finite value. For example, if a N8211A/N8212A has a programmable output
impedance of 50 or 75 ohms, and you specified 76.1 for the output impedance, the value is
rounded to 75. The following are examples of numeric parameters:
Table 15 Parameter and Response Types
Parameter Types Response Data Types
Numeric Real, Integer
Extended Numeric Real, Integer
Discrete Discrete
Boolean Numeric Boolean
String String
100 no decimal point required
100. fractional digits optional
−1.23 leading signs allowed
4.56E<space>3 space allowed after the E in exponential
−7.89E−001 use either E or e in exponential
+256 leading + allowed
Comments to this Manuals