
38
S:\agilent\e8285\USRGUIDE\BOOK\CHAPTERS\getstart.fb
Chapter 1, Getting Started
GPIB Command Guidelines
Using Question Marks to Query Setting or Measurement Fields
The question mark (?) is used to query (read-back) an instrument setting or
measurement value. To generate the query form of a command, place the question
mark immediately after the command. Queried information must be read into the
proper variable type within the program context before it can be displayed,
printed, or used as a numeric value in the program.
Queried information is returned in the same format used to set the value (a queried
numeric field returns numeric data; quoted string fields return quoted string
information).
For example, the following BASIC language program statements query the
current setting of the
AFGen 1 To
field:
OUTPUT 714;”AFG1:DEST?”!Query the AFGen1 To field.
ENTER 714;Afg1_to$!Enter queried value into a string variable
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Содержание E8285A
Страница 18: ...Contents 17 Index Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...
Страница 100: ...99 4 Status Reporting Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...
Страница 268: ...267 6 IBASIC Controller Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...
Страница 346: ...345 A Error Messages Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...