Appendix A
SCPI Command Reference
Common commands
378
4460 GSM System Option and 4468 EDGE System Option
Version 12.20
*ESE
*ESR?
Bit
Decimal
Meaning
7
128
Power on – this bit is always set.
6
64
User Request – a
1
on this position indicates that the
4400 is no longer controlled by remote commands
but by user interaction.
5
32
Command error – this bit indicates that one of the
“SCPI command errors”
occurred.
4
16
Execution error – is set after a SCPI execution error
did occur.
3
8
Device-dependent error – this bit indicates that a
device-specific SCPI error did occur.
2
4
Query error – is set after a SCPI query error occurred.
1
2
Request control – this bit is reserved for future use.
0
1
Operation complete flag – is set as soon as the exe-
cution of a command has been completed.
Syntax
:*ESE <int1>
Parameters
int1
is an integer.
The valid range is from 0 to 255 (8 bits).
Description
Sets the enable filter (mask) of the event status register.
int1
is the decimal representation of the binary mask.
The mask and the current content of the event status register will be ANDed. If the
result is not zero, then bit 5 of the
“Service register”
will be set.
Query
The query form reads out the enable filter (mask) currently set and returns its binary
representation in a string.
Example
:*ESE 128
As soon as power has been switched on, bit 7 (Power on) will be set. ANDed with the
mask
128
, a binary
1
will occur and thus bit 5 of the service register will be set.
Syntax
:*ESR?
Parameters
There are no parameters.
Description
There is only a query form of this command available.
Query
Returns the decimal representation of the current contents of the event status regis-
ter in a string.
Note:
This register is self-destructive, i.e. its contents will be cleared after reading.
Example
After power-on, an
:*ESR?
command will return
"128"
. This means that bit 7 is
set and all the other bits of the event status register are
0
.
The command will clear the event status register and a subsequent
:*ESR?
com-
mand will return
"0"
.