Example
Common Commands
*ESE
The following table shows the bits of the Standard Event Status Register and
binary-weighted decimal value.
binary-
bit
weight
0
1
OPC (Operation Complete)
1
2
RQC (Request Control)
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)
The following four lines enable the same bit (CME bit):
OUTPUT @Hp4155;"*ESE 32"
OUTPUT @Hp4155;"*ESE #B100000" using binary numeric
OUTPUT @Hp4155;"*ESE #Q40"
OUTPUT @Hp4155;"*ESE #H20"
The following is example for query:
OUTPUT @Hp4155;"*ESE?"
ENTER @Hp4155;A
4-6
Agilent 4155C/4156C SCPI Command Reference, Edition 1
description
using decimal numeric
using octal numeric
using hexadecimal numeric