Справочник Пользователя для Agilent Technologies A.18.00

Скачать
Страница из 581
318
S:\agilent\8920\8920b\PRGGUIDE\BOOK\CHAPTERS\advoper.fb
 
Chapter 5, Advanced Operations
Passing Control
1. If a program is running on the HP
®
 9000 Workstation, PAUSE the program. 
2. Put the Test Set in local mode (press the LOCAL key on the front panel). 
3. Configure the Test Set to print to the GPIB printer using the PRINT CONFIGURE 
screen. 
4. Configure the Test Set to display the screen to be printed. 
5. From the keyboard of the HP
®
 9000 Workstation type in and execute the following 
command: 
          OUTPUT 714;"*PCB 21"
This command tells the Test Set the address of the Controller to pass control back to. 
6. From the keyboard of the HP
®
 9000 Workstation type in and execute the following 
command: 
          PASS CONTROL 714
This command passes control to the Test Set. 
7. Put the Test Set in local mode (press the LOCAL key on the front panel). 
8. Press SHIFT , then TESTS on the front panel of the Test Set to print the screen. 
9. After the Test Set finishes printing the screen it will automatically pass control back to 
the HP
®
 9000 Workstation. 
Passing Control Between an External Controller and the Test Set with an IBASIC 
Program Running  
 
The following example program illustrates the passing of control between an 
external Controller and the Test Set while an IBASIC program is running in the 
Test Set. The example is based upon having an HP
®
 9000 Series 300 Workstation 
as the external controller connected to the Test Set through the GPIB bus. Further, 
it is based on the assumption that the GPIB interface in the HP
®
 9000 Controller is 
set to the default select code of 7 and address of 21. In this example, the Test Set is 
NOT configured as the System Controller. This example illustrates the situation 
where the External Controller would perform the functions listed below. 
1. Sends commands to the Test Set to cause a program to be loaded off of a Memory Card 
which is in the Test Set’s front panel Memory Card slot. 
2. Sends commands to the Test Set to run the program just loaded. 
3. Passes control to the Test Set and then does other work while the Test Set is making 
measurements. 
When the Test Set is finished making measurements and has data available for the 
External Controller, it passes control back to the External Controller. 
4. The External Controller then requests the data from the Test Set.