
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
Содержание 2230
Страница 12: ...2230 Service X The 2230 Digital Storage Oscilloscope 4998 01 ...
Страница 32: ...Operating Information 2230 Service 4998 04 Figure 2 4 Power and display controls and power on indicator 2 5 ...
Страница 33: ...Operating Information 2230 Service Figure 2 5 Vertical controls and connectors 2 6 ...
Страница 48: ...Operating Information 2230 Service Figure 2 11 X Y Plotter interfacing ...
Страница 56: ...Theory of Operation 2230 Service 4999 01 3 2 Figure 3 1 Simplified block diagram ...
Страница 68: ...Operating Information 2230 Service Figure 2 11 X Y Plotter interfacing ...
Страница 76: ...Theory of Operation 2230 Service 4999 01 3 2 Figure 3 1 Simplified block diagram ...
Страница 82: ...Theory of Operation 2230 Service 510 499 9 02 Figure 3 2 Block diagram of the Channel 1 Attenuator circuit 3 8 ...
Страница 98: ...Theory of Operation 2230 Service 499 9 06 Figure 3 6 Horizontal Amplifier block diagram 3 24 ...
Страница 111: ...Theory of Operation 2230 Service 3 37 Figure 3 9 Acquisition Memory timing ...
Страница 190: ...Maintenance 2230 Service 999 14 Figure 6 3 Isolated kernel timing 6 9 ...
Страница 218: ...Maintenance 2230 Service 4999 37 Figure 6 7 Location of screws and spacers on the Storage circuit board 6 37 ...
Страница 329: ...PUT Figure 9 2 S em ico n d u cto r lea d co n fig u ratio n s ...
Страница 332: ...2230Service CHASSIS MOUNTED PARTS ...
Страница 334: ...A14 CH 1 LOGIC BOARD ...
Страница 337: ......
Страница 344: ...u sr z z o 1 ...
Страница 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 ...
Страница 352: ......
Страница 355: ...WAVEFORMS FOR DIAGRAM 5 4999 83 ...
Страница 358: ...I W L U O U rc a 4 2 s ...
Страница 361: ...WAVEFORMS FOR DIAGRAM 6 S 84 ...
Страница 362: ...2230 Service TEST SCOPE TRIGGERED ON U665 PIN 8 FOR WAVEFORMS 31 THROUGH 33 ...
Страница 365: ... I I ...
Страница 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 ...
Страница 369: ... o 0 UJU sa eg aiu c u J in su eg 5 C sis n g e s o N QO ...
Страница 371: ...Static Sensitive Devices See Maintenance Section CM I rv CD o 2230 Service ...
Страница 378: ......
Страница 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 ...
Страница 386: ......
Страница 388: ...H K L M N 7 8 8 2 2 3 0 INPUT OUTFUT WIRING INTERCONNECT ...
Страница 392: ...W A V E F O R M S F O R D IA G R A M 14 ...
Страница 393: ...2230Service 0 0 d s t 4 9 9 9 9 5 ...
Страница 394: ...2230 Service TEST SCOPE TRIGGERED ON U911 PIN 21 FOR WAVEFORMS 64 THROUGH 69 4999 92 ...
Страница 396: ... ...
Страница 397: ...WAVEFORMS FOR DIAGRAM 15 TEST SCOPE TRIGGERED ON U9111 PIN 21 FOR WAVEFORMS 70 THROUGH 77 ...
Страница 399: ......
Страница 403: ......
Страница 404: ......
Страница 405: ......
Страница 406: ...2230 Service n CD O O i 0 s a f s s o m O F ig u re 9 5 D e ta ile d S to ra g e b lo c k diagram 4999 22 ...
Страница 409: ......
Страница 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 ...
Страница 417: ...4999 9S ...
Страница 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 ...
Страница 421: ...TEST SCOPE TRIGGERED ON U4105 PIN 9 FOR WAVEFORMS 121 AND 122 TEST SCOPE TRIGGERED ON U4227 PIN 10 i 4999 97 ...
Страница 423: ...W A V E F O R M SF O RD IA G R A M1 8 O c n ...
Страница 424: ...Figure 9 22 A11A1 Input Output board ...
Страница 427: ...WAVEFORMS FOR DIAGRAM 19 TEST SCOPE TRIGGERED ON U6103 PIN 1 FOR WAVEFORMS 126 AND 127 4999 98 ...
Страница 430: ...Figure 9 23 A11A2 Vector Generator board ...
Страница 434: ...49 9 9 tOO ...
Страница 436: ......
Страница 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 ...
Страница 442: ...WAVEFORMS FOR DIAGRAM 22 4999 78 ...
Страница 443: ...XY PLOTTER BOARD DIAGRAM 22 See Parts List for serial number ranges ...
Страница 444: ... u i o IO U J J i o D U I 1 t ir u j t O 0 X I c a a 3 4 2230 4999 71 REV FE8 1987 XY PLOTTER BOARD 22 ...
Страница 447: ...A21 RS 232 OPTION BOARD Flfi A 9 K 01 01 W M ...
Страница 450: ......
Страница 452: ...COMPONENT NUMBER EXAMPLE ...
Страница 455: ...r n n i i i i n O T IA ll D A A o n XY PLOTTER BOARD P in A23 OPTION MEMORY BOARD FIG 9 27 A22 GPIB OPTION BOARD ...
Страница 459: ...A16 SWEEP REFERENCE ADJUSTMENT LOCATION ...
Страница 467: ...2230 Service ...
Страница 468: ......
Страница 474: ......
Страница 475: ...2230 Service ...
Страница 476: ...2230 Service ...
Страница 477: ... D ...
Страница 483: ...2230 Service ...