EasyManuals Logo

Agilent Technologies 8712ET User's Handbook Supplement

Agilent Technologies 8712ET
158 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
Page #111 background imageLoading...
Page #111 background image
HP IBASIC Supplement 8-25
Interfacing with External Devices
Interfacing with an External Controller
Setting and Querying Variables
Another means of transferring data between an internal and an external
program involves the ability to set and query internal program variables
from an external program. The “PROGram[:SELected]:NUMBer” and
“PROGram[:SELected]:STRing” mnemonics (and their query
counterparts) are analyzer GPIB commands. The internal program must
not be running when these commands are executed.
The command
PROG:NUMB <string>, <value>
sets the value of a numeric variable in the program. The command
PROG:STR <string>, <value>
sets the value of a string variable in the program. In both the
PROG:NUMB and PROG:STR commands and queries, <string> is the
variable name and must be string data (in quotes). In the PROG:STR
command, <value> is also string data (in quotes).
Numeric and string parameters can also be queried. The query
PROG:NUMBer? <string>
returns the value of the specified numeric variable.
Arrays of REAL or INTEGER type may be sent or queried but arrays of
strings are not allowed. Array elements are separated by commas.
Examples
OUTPUT 716;”PROG:NUMBER 'Test',99”
OUTPUT @Ibasic;”PROG:STRING 'A$','String Data'”
OUTPUT 716;”PROG:NUMB? 'Iarray(*)'”

Table of Contents

Other manuals for Agilent Technologies 8712ET

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Agilent Technologies 8712ET and is the answer not in the manual?

Agilent Technologies 8712ET Specifications

General IconGeneral
BrandAgilent Technologies
Model8712ET
CategoryMeasuring Instruments
LanguageEnglish

Related product manuals