4-14
N9360A Multi UE Tester W-CDMA Programming Manual
4
Programming Command Guidelines
•
*ESE
,
*ESE?
(event status enable) sets and queries the bits
in the enable register part of the standard event status
register.
•
*ESR?
(event status register) queries and clears the event
register part of the standard event status register. This
command will be added in future.
•
*OPC
,
*OPC?
(operation complete) sets the standard event
status register to monitor the completion of all commands.
The query stops any new commands from being processed
until the current processing is complete, then returns
1
.
•
*STB?
(status byte) queries the value of the status byte
register without erasing its contents.
Setting and Querying the Registers
Each bit in a register is represented by a numerical value based
on its location as shown in
. To enable or disable a
particular bit, you need to send this value with the command. If
you want to enable more than one bit, send the sum of all the
bits that you want to enable.
For example, to set
1
to
bit
0
and
bit
6
of the Standard Event
Status Register, send the command
*ESE 65 (= 1 + 64)
.
The result of a query is evaluated in a similar way. If the
command
*STB?
returns a decimal value of 140 (= 128 + 8 + 4),
then the
bit
7
,
bit
3
and
bit
2
are set to
1
.
Status Register System
shows all of the instrument status registers and their
hierarchy incorporated with the Tester.
Figure 4-4
Bit Values
Bit Number
D
ec
im
al
V
al
ue
128
64
32
16
8
4
2
1
7
6
5
4
3
2
1
0
Summary of Contents for N9360A
Page 1: ...Agilent Technologies Agilent N9360A Multi UE Tester W CDMA Programming Manual...
Page 4: ...1 4 N9360A Multi UE Tester W CDMA Programming Manual 1 THIS PAGE IS INTENTIONALLY LEFT BLANK...
Page 8: ...8 N9360A Multi UE Tester W CDMA Programming Manual THIS PAGE IS INTENTIONALLY LEFT BLANK...
Page 12: ...6 N9360A Multi UE Tester W CDMA Programming Manual THIS PAGE IS INTENTIONALLY LEFT BLANK...