LCX_UserManual_en_08_1.pdf - 第228页

Remote control commands R&S ® LCX Series 228 User Manual 1 179.2260.02 ─ 08 Return values: <Primary Measurement V alue> Selects the first measurement parameter . <Secondary Measurement V alue> Selects the…

100%1 / 265
Remote control commands
R&S
®
LCX Series
227User Manual 1179.2260.02 ─ 08
Example: Reading measurement results
The example represents the remote control commands for triggering and querying
measurement pair readings.
*************************************************
// Request information on the measurement result
// query recently measured impedance values
READ:IMPedance?
// Response: returns Z and Theta d values
// query the recently measured values of measurement pair 2
READ[:TYPe]? CPRP
// Response: returns the measurement values of the
// parallel capacitance and parallel resistance
// parameter pair
READ[:TYPe]?
// Response: returns the measurement values of the
// primary parameter pair
READ:IMPedance?........................................................................................................ 227
READ[:TYPE]?.............................................................................................................. 227
READ:IMPedance?
Queries the impedance measurement results.
Return values:
<Impedance
Measurement Value>
Selects the impedance measurement parameter.
Default unit: Ohm
<Phase Measurement
Value>
Selects the phase angle measurement parameter.
Example: See Example "Reading measurement results" on page 227.
Usage: Query only
READ[:TYPE]? [<Impedance Type Pair>]
Triggers a new measurement and queries the measured values of the specified mea-
surement pair.
Without specifying the measurement parameter, the instrument returns the value of the
first measurement pair.
Query parameters:
<Impedance Type
Pair>
DEFault | CPD | CPQ | CPG | CPRP | CSD | CSQ | CSRS |
LPD | LPQ | LPG | LPRP | LSD | LSQ | LSRS | RX | RPB | RDC |
MTD | NTD | ZTD | ZTR | GB | YTD | YTR
READ subsystem
Remote control commands
R&S
®
LCX Series
228User Manual 1179.2260.02 ─ 08
Return values:
<Primary
Measurement Value>
Selects the first measurement parameter.
<Secondary
Measurement Value>
Selects the second measurement parameter.
Example: See Example "Reading measurement results" on page 227.
Usage: Query only
11.17 STATus subsystem
This system contains the commands for the status reporting system, see Sec-
tion 10.2.4, "Status reporting system", on page 156. *RST has no effect on the status
registers.
11.17.1 Status operation register
This system contains the commands for controlling the STATus:OPERation register
of the status reporting system.
The configuration commands set the corrsponding register. They determine which sta-
tus changes of the R&S LCX cause changes in the status registers, see Sec-
tion 10.2.4.2, "Instrument-specific status operation register", on page 157.
Value range: Decimal values in the range 0 to 32767 (=2
15
-1)
STATus:OPERation:CONDition?......................................................................................228
STATus:OPERation:ENABle............................................................................................228
STATus:OPERation:NTRansition..................................................................................... 229
STATus:OPERation:PTRansition......................................................................................229
STATus:OPERation[:EVENt]?..........................................................................................229
STATus:OPERation:CONDition?
Queries the CONDition part of the operational status register.
Return values:
<CONDition> Condition bits in decimal representation.
Range: 1 to 65535
Usage: Query only
STATus:OPERation:ENABle <Enable_value>
Enables or queries the bits in the enable register for the Standard Operation Register
group.
Parameters:
<Enable_Value> Range: 1 to 65535
STATus subsystem
Remote control commands
R&S
®
LCX Series
229User Manual 1179.2260.02 ─ 08
STATus:OPERation:NTRansition <Value>
Sets or queries the negative transition filter. If a bit is set, a 1 to 0 transition in the cor-
responding bit of the condition register causes a 1 to be written in the corresponding bit
of the status register.
Parameters:
<Value> Range: 1 to 65535
STATus:OPERation:PTRansition <Value>
Sets or queries the positive transition filter. If a bit is set, a 0 to 1 transition in the corre-
sponding bit of the condition register causes a 1 to be written in the corresponding bit
of the status register.
Parameters:
<Value> Range: 1 to 65535
STATus:OPERation[:EVENt]?
Queries the actions the instrument has executed since the last reading.
Return values:
<OPERation> Range: 1 to 65535
Usage: Query only
11.17.2 Status questionable register
This system contains the commands for controlling the STATus:QUEStionable reg-
ister of the status reporting sytem, see Section 10.2.4.3, "Instrument-specific status
questionable register", on page 158.
Queries return the current value of the corresponding register, which permits a check
of the device status.
Return values: Decimal values in the range 0 to 32767 (=2
15
-1)
STATus:QUEStionable:CONDition?..................................................................................229
STATus:QUEStionable:ENABle....................................................................................... 230
STATus:QUEStionable:ENABle?......................................................................................230
STATus:QUEStionable:NTRansition.................................................................................230
STATus:QUEStionable:PTRansition................................................................................. 230
STATus:QUEStionable[:EVENt]?......................................................................................230
STATus:QUEStionable:CONDition?
Returns the contents of the CONDition part of the status register to check for question-
able instrument or measurement states. Reading the CONDition registers does not
delete the contents.
STATus subsystem