EasyManua.ls Logo

HP 8924C - Page 266

HP 8924C
350 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
266
S:\HP8924C\USRGUIDE\BOOK\CHAPTERS\ibasic.fb
Chapter 6, 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.
10 ASSIGN @Device TO 714! Establishes I/O path to select code 7 address 14.
20 OUTPUT @Device;"*RST"! Commands Test Set to reset at address 714.
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.

Table of Contents

Related product manuals