322
Chapter 5, Advanced Operations
Passing Control
Requesting Control using IBASIC
The Test Set has the capability to request control of the bus from the Active
Controller from a running IBASIC program using the IBASIC command
EXECUTE ("REQUEST_CONTROL"). When the EXECUTE
("REQUEST_CONTROL") command is executed from a running IBASIC
program, the Request Control bit, bit 1, of the Test Set’s Standard Event Status
Register is set to the TRUE, logic 1, condition. The Active Controller detects the
request in the Test Set’s Standard Event Status Register either as a result of an
SRQ indication by the Test Set or by some polling routine which periodically
checks bit 1 of the Standard Event Status Register of all potential controllers on
the bus. The Active Controller would then send the Test Set the address to which
the Test Set is to later pass control using the *PCB Common Command. The
Active Controller would then pass control to the Test Set.
Pass Control Examples
The following examples illustrate how pass control could be implemented in two
of the common Test Set operating configurations:
1. Test Set controlled by an external controller, and
2. Test Set running an IBASIC program with an external Controller connected to HP-IB
bus.
Passing Control While the Test Set is Controlled by an External Controller
This example illustrates passing control between the Test Set and an external
controller while the Test Set is being controlled by the external controller. In this
mode the Test Set is NOT configured as the System Controller. Generally
speaking, in this mode of operation the Test Set is considered just another device
on the HP-IB bus and its Controller capabilities are not used. However, it may be
desirable, under certain conditions, to print a Test Set screen to the HP-IB printer
for documentation or program debugging purposes. With manual intervention it is
possible to have the Active Controller pass control to the Test Set, have the
operator select and print the desired screen, and then pass control back to the
formerly Active Controller. The following steps outline a procedure for
accomplishing this task. The example is based upon having an HP 9000 Series
300 Workstation as the external controller connected to the Test Set through the
HP-IB bus. Further, it assumes that the HP-IB interface in the HP 9000 Controller
is set to the default select code of 7 and address of 21.
Содержание 8921A
Страница 14: ...14 ...
Страница 17: ...Contents 17 3 HP IB Command Guidelines Sequential and Overlapped Commands 72 Guidelines for Operation 73 ...
Страница 24: ...Contents 24 9 Error Messages ...
Страница 25: ...Contents 25 Index 593 ...
Страница 26: ...Contents 26 ...
Страница 27: ...27 1 Using HP IB ...
Страница 58: ...58 Chapter 1 Using HP IB Remote Local Modes ...
Страница 59: ...59 2 Methods For Reading Measurement Results ...
Страница 71: ...71 3 HP IB Command Guidelines ...
Страница 94: ...94 Chapter 3 HP IB Command Guidelines Guidelines for Operation ...
Страница 95: ...95 4 HP IB Commands ...
Страница 100: ...100 Adjacent Channel Power ACP ...
Страница 150: ...150 Display DISPlay space TDMA test TESTs TFReq THLP TIBasic TMAKe TPARm TPRint TSEQn TSPec Returns current screen TX ...
Страница 173: ...173 System System SYSTem ERRor Returns integer value quoted string ...
Страница 236: ...236 Triggering Measurements ...
Страница 237: ...237 5 Advanced Operations ...
Страница 350: ...350 Chapter 6 Memory Cards Mass Storage Using Memory Cards Figure 20 Inserting a Memory Card ...
Страница 360: ...360 Chapter 6 Memory Cards Mass Storage Using External Disk Drives ...
Страница 361: ...361 7 IBASIC Controller ...
Страница 442: ...442 Chapter 7 IBASIC Controller The TESTS Subsystem ...
Страница 559: ...559 Chapter 8 Programming The Call Processing Subsystem Example Programs 11280 SUBEND 11290 ...
Страница 562: ...562 Chapter 8 Programming The Call Processing Subsystem Example Programs ...
Страница 563: ...563 9 Error Messages ...
Страница 592: ...592 ...