Agilent Technologies B2201A Switch User Manual


 
5-6 Agilent B2200 User’s Guide, Edition 2
SCPI Command Reference
*ESR?
The following table shows the bits of the Standard Event Status Register and
binary-weighted decimal value of each bit.
Example The following four lines enable the same bit (CME bit):
OUTPUT @Agb2200;"*ESE 32"
using decimal numeric
OUTPUT @Agb2200;"*ESE #B100000" using binary numeric
OUTPUT @Agb2200;"*ESE #Q40" using octal numeric
OUTPUT @Agb2200;"*ESE #H20" using hexadecimal numeric
The following is example for query:
OUTPUT @Agb2200;"*ESE?"
ENTER @Agb2200;A
*ESR?
This query command returns the present contents of the Standard Event Status
Register.
Syntax *ESR?
Query response register <newline><^END>
bit binary-weight description
0 1 OPC (Operation Complete)
1 2 not used
2 4 QYE (Query ERROR)
3 8 DDE (Device-Dependent ERROR)
4 16 EXE (Execution ERROR)
5 32 CME (Command ERROR)
6 64 not used
7 128 PON (Power on)
Parameter Explanation
register decimal integer value that is the sum of the binary-weighted values
for the set bits