Agilent Technologies E8285A User Manual page 293

Cdma mobile station test set
Hide thumbs Also See for E8285A:
Table of Contents

Advertisement

Chapter 6, IBASIC Controller
Method #1. Program Development on an External BASIC Language Computer
There are two ways of allowing easy conversion of all GPIB 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
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
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!
20 OUTPUT @Device;"*RST"!
To change the address, simply change line 10 to
10 ASSIGN @Device TO 800.
NOTE:
The dedicated GPIB 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.
292
S:\agilent\e8285\USRGUIDE\BOOK\CHAPTERS\ibasic.fb
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
!
Sets the value of variable Addr to be 714.
!
Sets the value of variable Addr to be 814.
Establishes I/O path to select code 7 address 14.
Commands Test Set to reset at address 714.

Advertisement

Table of Contents
loading

Table of Contents