LCX_UserManual_en_08_1.pdf - 第157页

Network operation and remote control R&S ® LCX Series 157 User Manual 1 179.2260.02 ─ 08 10.2.4.1 Overview of the R&S LCX status registers & & & & & & + & Status Byte Service Request t…

100%1 / 265
Network operation and remote control
R&S
®
LCX Series
156User Manual 1179.2260.02 ─ 08
See Remote control via SCPI for additional information on the characteristics, control
commands and messages of the GPIB interface.
GPIB address
The controller addresses the instrument with the GPIB bus channel, see Section 9.2.1,
"Interface settings", on page 125. GPIB provides channel addresses from 0 to 30. The
GPIB address is preset to 20 (factory-set), but you can adjust it according to your net-
work environment, see "Assigning the GPIB address manually" on page 173. An instru-
ment preset does not affect the GPIB address.
The GPIB resource string syntax is as follows:
GPIB:://<channel>[::INSTR]
GPIB
= denotes the used interface
<channel address> = the used channel
[::INSTR] = indicates the instrument resource class (optional)
If the VISA implementation supports the GPIB interface, you can optionally define the
VISA Instrument Control Resource (INSTR). It is used to define the basic operations
and attributes for a device, such as reading, writing, or triggering.
Example:
GPIB::28
28 is the selected GPIB bus channel.
10.2.4 Status reporting system
The status reporting system saves all information on the current operating state of the
instrument and the errors that have occurred. This information is saved in the status
registers and in the error queue. You can query the status of the registers remotely, i.e.
over the USB, GPIB or LAN interfaces with the commands of the Section 11.17, "STA-
Tus subsystem", on page 228.
Remote control interfaces and protocols
Network operation and remote control
R&S
®
LCX Series
157User Manual 1179.2260.02 ─ 08
10.2.4.1 Overview of the R&S LCX status registers
&
&
&
&
&
&
+
&
Status Byte
Service Request
to controller at transition
from 0 to 1
Error-/Event-Queue
Output-Queue
1
0
2
3
4
5
x
7
1
0
2
QUES
MAV
ESB
RQS/MSS
OPER
1
0
2
3
4
5
6
7
9
8
10
11
12
13
14
15
+
1
0
2
3
4
5
6
7
9
8
10
11
12
13
14
15
+
1
0
2
3
4
5
6
7
+
Standard Event
Status
Operation
Status
Questionable
Status
I-BIAS OV
Ext. V-BIAS OV
I-BIAS Analog FB Sat
LCUR Outamp DC OV
LCUR Outamp OT
Outamp disabled
LF-TIA OV
IQ-Mixer OV
CALibration*
STORage*
OCP*
EXPCalibration*
0
0
0
0
Operation Complete
Request Control
Query Error
Device Dependent Error
Execution Error
Command Error
User Request
Power On
CALibrating
SETTing*
RANGing*
UPDate
0
TRIGger
0
0
LIMit*
INTegrating*
LOGGing
LOCKed
INRush
0
0
0
0
0
Service Request Enable
1
0
2
3
4
5
6
7
9
8
10
11
12
13
14
15
+
0
Channel 1
Channel 2
Channel 3
Channel 4
Channel 5
Channel 6
Channel 7
Channel 8
0
0
0
0
0
0
0
* Master in multichannel mode can
query channel fan-out of these bits.
Figure 10-2: Graphical overview of the status registers hierarchy
The following sections describe the instrument-specific bit assignments of the opera-
tion status and the questionable status registers.
For more information, see:
Remote control via SCPI: provides general information on the status reporting sys-
tem of Rohde & Schwarz instruments. This document also provides information on
the standard event status register and the error queue.
Section 11.17, "STATus subsystem", on page 228: describes the corresponding
remote control commands of the status register
SCPI standard documentation for comprehensive information on the standard
10.2.4.2 Instrument-specific status operation register
The condition part contains information on currently executed actions. The event part
covers information on the actions performed since the last readout of the register.
Remote control interfaces and protocols
Network operation and remote control
R&S
®
LCX Series
158User Manual 1179.2260.02 ─ 08
To read the register, use the query commands STATus:OPERation:CONDition?
on page 228 or STATus:OPERation[:EVENt]? on page 229. The remote com-
mands for the operation status register are described in Section 11.17.1, "Status oper-
ation register", on page 228.
Table 10-3: Assignment of the bits used in the operation status register
Bit No. Meaning
0
CALibrating
The bit is set during the calibration phase (for service department only).
1
SETting
2
RANging
3
UPDate
4 0
5
TRIGger
This bit is set while the instrument is waiting for the trigger.
6 0
7 0
8
LIMit
9
INTegrating
10
LOGging
This bit is set as long as "Logging" is enabled
11
LOCKed
Instrument locked (RWLock)
12
INRush
13 0
14 0
15 This bit is always 0
10.2.4.3 Instrument-specific status questionable register
This status register contains information on questionable instrument states. Questiona-
ble states occur when the instrument is not operated in compliance with its specifica-
tions.
To read the register, use the commands STATus:QUEStionable:CONDition?
on page 229 and STATus:QUEStionable[:EVENt]? on page 230. The remote
commands for the status questionable register are described in Section 11.17.2, "Sta-
tus questionable register", on page 229.
Remote control interfaces and protocols