404
Chapter 7, IBASIC Controller
Method #1. Program Development on an External BASIC Language Computer
There are two ways of allowing easy conversion of all HP-IB commands to a different
address. The first way is to establish a variable to which the 3-digit address number is
assigned.
For example
10 Addr = 714 ! Sets the value of variable Addr to be 714.
20 OUTPUT Addr;"*RST"!Commands the Test Set to reset at address 714.
To change the address, simply change the value of variable Addr to 814.
For example
10 Addr = 814 ! Sets the value of variable Addr to be 814.
20 OUTPUT Addr;"*RST"! Commands the Test Set to reset at address 814.
A second method is to assign an I/O path to the desired I/O port.
For example
To control device #14 on the port with select code 7.
20 ! Establishes IO path to select code 7 address 14
10 ASSIGN @Device TO 714
30 ! Commands Test Set to reset at address 714.
20 OUTPUT @Device;"*RST"
To change the address, simply change line 10 to
10 ASSIGN @Device TO 800.
NOTE:
The dedicated HP-IB interface at select code 8 conforms to the IEEE 488.2 Standard in all
respects but one. The difference being that each instrument on the bus does not have a
unique address. The Instrument Control Hardware determines which instrument is being
addressed with the command syntax. As such an explicit device address does not have to
be specified. The address 800 and 814 are equally correct.
Содержание 8920B
Страница 10: ...10 ...
Страница 16: ...Contents 16 9 Error Messages Index 673 ...
Страница 17: ...17 1 Using HP IB ...
Страница 48: ...48 Chapter 1 Using HP IB Remote Local Modes ...
Страница 49: ...49 2 Methods For Reading Measurement Results ...
Страница 61: ...61 3 HP IB Command Guidelines ...
Страница 84: ...84 Chapter 3 HP IB Command Guidelines Guidelines for Operation ...
Страница 85: ...85 4 HP IB Commands ...
Страница 90: ...90 Adjacent Channel Power ACP ...
Страница 116: ...116 Configure I O Configure ...
Страница 156: ...156 Call Processing ...
Страница 162: ...162 Display DISPlay space TDMA test TESTs TFReq THLP TIBasic TMAKe TPARm TPRint TSEQn TSPec Returns current screen TX ...
Страница 185: ...185 System System SYSTem ERRor Returns integer value quoted string ...
Страница 242: ...242 Common Command Descriptions ...
Страница 251: ...251 5 Advanced Operations ...
Страница 377: ...377 7 IBASIC Controller ...
Страница 458: ...458 Chapter 7 IBASIC Controller The TESTS Subsystem ...
Страница 640: ...640 Chapter 8 Programming The Call Processing Subsystem Example Programs 11280 SUBEND 11290 ...
Страница 643: ...643 9 Error Messages ...
Страница 672: ...672 ...
Страница 682: ...Index 682 ...