
3-3
Common Commands
*CLS (Clear Status)
it will also block the execution of the remote script until all pending operations are finished. It
is particularly useful if the host computer is connected to two or more instruments. This com-
mand will not block the GPIB bus, allowing the computer to continue issuing commands to
the instrument not executing the *WAI command.
*CLS (Clear Status)
Command
*CLS
The *CLS command clears all status and error registers. Refer to
for a complete discussion of status.
Example
This example clears the status data structures of the analyzer.
10 OUTPUT 707;"*CLS"
*ESE (Event Status Enable)
Command
*ESE <mask>
The *ESE command sets the Standard Event Status Enable Register bits.
<mask>
An integer, 0 to 255, representing a mask value for the bits to be enabled in the Standard
Event Status Register as shown in
Example
This example enables the User Request (URQ) bit of the Standard Event Status Enable Reg-
ister. When this bit is enabled and a front-panel key is pressed, the Event Summary bit (ESB)
in the Status Byte Register is also set.
10 OUTPUT 707;"*ESE 64"
Query
*ESE?
The *ESE? query returns the current contents of the Standard Event Status Enable Register.
Returned Format
<mask><NL>
<mask>
An integer, +0 to +255 (the plus sign is also returned), representing a mask value for the bits
enabled in the Standard Event Status Register as shown in
.
Example
This example places the current contents of the Standard Event Status Enable Register in
the numeric variable, Event.
10 OUTPUT 707;"*ESE?"
20 ENTER 707;Event
The Standard Event Status Enable Register contains a mask value for the bits to be enabled
in the Standard Event Status Register. A "1" in the Standard Event Status Enable Register
enables the corresponding bit in the Standard Event Status Register. A "0" in the enable reg-
ister disables the corresponding bit.
Table 3-2. Standard Event Status Enable Register Bits
Bit
Weight
Enables
Definition
7
128
PON - Power On
Indicates power is turned on.
6
64
URQ - User Request
Not used. Permanently set to zero.
5
32
CME - Command Error
Indicates whether the parser detected an error.
Содержание 86100A
Страница 18: ...1 14 Introduction Status Reporting Figure 1 4 Status Reporting Data Structures...
Страница 19: ...1 15 Introduction Status Reporting Status Reporting Data Structures continued...
Страница 94: ...2 40 Sample Programs BASIC Programming Examples...
Страница 124: ...4 16 Root Level Commands VIEW...
Страница 125: ...5 DATE 5 2 DSP 5 2 ERRor 5 3 HEADer 5 4 LONGform 5 5 MODE 5 6 SETup 5 7 TIME 5 7 System Commands...
Страница 132: ...5 8 System Commands TIME...
Страница 140: ...6 8 Acquire Commands SWAVeform RESet...
Страница 152: ...7 12 Calibration Commands STATus...
Страница 192: ...11 12 Display Commands SSAVer...
Страница 202: ...12 10 Function Commands VERTical RANGe...
Страница 203: ...13 AREA 13 2 DPRinter 13 2 FACTors 13 3 IMAGe 13 3 PRINters 13 4 Hardcopy Commands...
Страница 316: ...21 12 TDR TDT Commands Rev A 05 00 and Below STIMulus...
Страница 332: ......
Страница 353: ...26 DISPlay 26 2 LOAD 26 2 SAVE 26 3 XOFFset 26 3 XRANge 26 3 YOFFset 26 3 YRANge 26 4 Waveform Memory Commands...