Options— 2230 Service
“ Instrument Interfacing Guide” . Before a program can be
used for controlling the oscilloscope, the RS-232-C param
eters (baud rate, line terminator, and parity) must be set.
These parameters are selected and set at the oscilloscope
using the RS-232-C PARAMETERS switch.
Programs are usually composed of two main parts (or
routines), which can be generally categorized as a com
mand handler and a service-request handler.
Command Handler
Basically, a command handler should establish com
munication between the controller and oscilloscope, send
commands and queries to the oscilloscope, receive
responses from the oscilloscope, and display responses as
required. The following outline indicates the general
sequence of functions that the command-handling routine
should perform to accommodate communications between
the controller and oscilloscope.
1. Initialize the controller.
2. Check for a service request from the oscilloscope
(by sending an EVEnt query); if not zero, service the
request.
3. Get the command to send to the oscilloscope.
4. Send the command to the oscilloscope.
5. Check for a response from the oscilloscope.
6.
If there is a response, perform the desired function.
If there is also an error response, perform step 2.
7.
You are ready for a new command. Repeat the
functions in statements 2 through 7 as many time as
desired.
Service-Requqst Handler
The typical service-request handler routine contains the
necessary instructions to permit proper processing of ser
vice requests. For example, whenever power-on occurs,
the oscilloscope sends an SRQ. If a GPIB program is
operating on the controller when a power-on SRQ is gen
erated, the program should be able to determine that the
oscilloscope’s power was interrupted at some time during
program operation. This event could cause improper pro
gram execution, unless the program was written to ade
quately handle the possibility of a power-on SRQ occur
ring. Other events for which the oscilloscope generates
SRQ are identified in Table 7-32.
The following general steps are required to handle ser
vice requests from the oscilloscope:
1. Send an EVENT? query to the oscilloscope request
ing service.
2. If the EVENT? query response is not zero, then per
form the desired response to the event.
3. Return to the main program.
RESET UNDER COMMUNICATION
OPTIONS CONTROL
The oscilloscope may be set to its power-up state by
sending the INIt command via the communication option.
This command always initiates the power-up self tests. On
completion of power-up tests, SRQ code 65 (operation
complete) is generated, and the oscilloscope enters the
normal operating state. If there is a self-test error, the
option also generates SRQ code 65 and does not shift the
instrument to the normal operating state. Invoking the INIt
command can simplify a program. When using INIt, fewer
commands will usually be needed to set the instrument
state, since all front-panel settings may not need to be
individually specified.
STATUS AND ERROR REPORTING
The status and error reporting system used by the
Communication Options interrupts the bus controller. On
the GPIB Option, the bus controller is interrupted by
asserting the Service Request (SRQ) line on the bus. This
SRQ provides the means of indicating that an event (either
a change in status or an error) has occurred. To service a
request, the GPIB controller performs a Serial Poll; in
response, the instrument returns a Status Byte (STB),
which indicates the type of event that occurred. On the
RS-232-C Option, as soon as a change of status or an
error occurs, the instrument returns a Status Byte (STB),
which indicates the type of event that occurred. Bit 4 of
the Status Byte is used to indicate that the command pro
cessor is active. This bit is set when the command proces
sor is executing a command, and reset when it is not. The
Status Byte, therefore, provides a limited amount of infor
mation about the specific cause of the SRQ. The various
status events and errors that can occur are divided into
several categories as defined in Table 7-31.
Each time the GPIB controller performs a serial poll, it
can cause a second SRQ if more than one error exists.
The most serious error at the time of the serial poll is the
error reported. An EVEnt? query returns a number indicat
ing the specific type of error that occurred. Table 7-32 lists
the EVEnt? codes generated by the communication
options.
7 -3 4
Summary of Contents for 2230
Page 12: ...2230 Service X The 2230 Digital Storage Oscilloscope 4998 01 ...
Page 33: ...Operating Information 2230 Service Figure 2 5 Vertical controls and connectors 2 6 ...
Page 48: ...Operating Information 2230 Service Figure 2 11 X Y Plotter interfacing ...
Page 56: ...Theory of Operation 2230 Service 4999 01 3 2 Figure 3 1 Simplified block diagram ...
Page 68: ...Operating Information 2230 Service Figure 2 11 X Y Plotter interfacing ...
Page 76: ...Theory of Operation 2230 Service 4999 01 3 2 Figure 3 1 Simplified block diagram ...
Page 98: ...Theory of Operation 2230 Service 499 9 06 Figure 3 6 Horizontal Amplifier block diagram 3 24 ...
Page 111: ...Theory of Operation 2230 Service 3 37 Figure 3 9 Acquisition Memory timing ...
Page 190: ...Maintenance 2230 Service 999 14 Figure 6 3 Isolated kernel timing 6 9 ...
Page 329: ...PUT Figure 9 2 S em ico n d u cto r lea d co n fig u ratio n s ...
Page 332: ...2230Service CHASSIS MOUNTED PARTS ...
Page 334: ...A14 CH 1 LOGIC BOARD ...
Page 337: ......
Page 344: ...u sr z z o 1 ...
Page 347: ...i n 5 a O Q q o u S a o h UJ s a b c d e f g h j k l m n ...
Page 352: ......
Page 355: ...WAVEFORMS FOR DIAGRAM 5 4999 83 ...
Page 358: ...I W L U O U rc a 4 2 s ...
Page 361: ...WAVEFORMS FOR DIAGRAM 6 S 84 ...
Page 362: ...2230 Service TEST SCOPE TRIGGERED ON U665 PIN 8 FOR WAVEFORMS 31 THROUGH 33 ...
Page 365: ... I I ...
Page 366: ...A 1 6 S W E E P R EFEREN CE BOARD FIG 9 17 2230 Service Figure 9 17 A16 Sweep Reference board ...
Page 369: ... o 0 UJU sa eg aiu c u J in su eg 5 C sis n g e s o N QO ...
Page 371: ...Static Sensitive Devices See Maintenance Section CM I rv CD o 2230 Service ...
Page 378: ......
Page 384: ... I I c o C u o a 5 r O tD v j If 3 IV if I I ci if 5 3 I ...
Page 386: ......
Page 388: ...H K L M N 7 8 8 2 2 3 0 INPUT OUTFUT WIRING INTERCONNECT ...
Page 392: ...W A V E F O R M S F O R D IA G R A M 14 ...
Page 393: ...2230Service 0 0 d s t 4 9 9 9 9 5 ...
Page 394: ...2230 Service TEST SCOPE TRIGGERED ON U911 PIN 21 FOR WAVEFORMS 64 THROUGH 69 4999 92 ...
Page 396: ... ...
Page 397: ...WAVEFORMS FOR DIAGRAM 15 TEST SCOPE TRIGGERED ON U9111 PIN 21 FOR WAVEFORMS 70 THROUGH 77 ...
Page 399: ......
Page 403: ......
Page 404: ......
Page 405: ......
Page 409: ......
Page 415: ...IMF PU TPR A IR TM FQ U I W A V E F O R M SF O RO IA G R A M1 5 W A V E F O R M SF O R i ...
Page 417: ...4999 9S ...
Page 419: ...i s 5 0 C C p F 2 CC p 2 a u 4 I s c c O 2 e e o 5 a o 5 i 2 i f 2 E C 52 ...
Page 423: ...W A V E F O R M SF O RD IA G R A M1 8 O c n ...
Page 424: ...Figure 9 22 A11A1 Input Output board ...
Page 430: ...Figure 9 23 A11A2 Vector Generator board ...
Page 434: ...49 9 9 tOO ...
Page 436: ......
Page 437: ...22 3 0 S ervice W A V E F O R M S F O R D I A G R A M 2 1 m f n h ...
Page 442: ...WAVEFORMS FOR DIAGRAM 22 4999 78 ...
Page 443: ...XY PLOTTER BOARD DIAGRAM 22 See Parts List for serial number ranges ...
Page 447: ...A21 RS 232 OPTION BOARD Flfi A 9 K 01 01 W M ...
Page 450: ......
Page 452: ...COMPONENT NUMBER EXAMPLE ...
Page 459: ...A16 SWEEP REFERENCE ADJUSTMENT LOCATION ...
Page 467: ...2230 Service ...
Page 468: ......
Page 474: ......
Page 475: ...2230 Service ...
Page 476: ...2230 Service ...
Page 477: ... D ...
Page 483: ...2230 Service ...