294 Chapter5
Programming
Communication with the System
Figure 5-2 Output Statement Example (I)
An ENTER statement used in conjunction with a spectrum analyzer
query returns information to the computer. To return the
center-frequency value to the computer, first form a query by adding a
question mark (?) to the command:
Figure 5-3 Output Statement Example (II)
Next, the ENTER statement is used to assign the returned value to a
variable in the computer:
GPIB