Agilent Technologies E8285A User Manual page 38

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

Advertisement

Chapter 1, Getting Started
GPIB Command Guidelines
Using the Semicolon to Output Multiple Commands
Multiple commands can be output from one program line by separating the
commands with a semicolon (;). The semicolon tells the Test Set's GPIB
command parser to back up one level of hierarchy and accept the next command
at the same level as the previous command.
For example, on one command line, it is possible to:
1. access the AF ANALYZER screen,
2. set the AF analyzer's input to AM Demod
3. set Filter 1 to 300 Hz HPF
4. set Filter 2 to 3kHz LPF
"DISP AFAN;AFAN:INP 'AM DEMOD';FILT1 '300Hz HPF';FILT2 '3kHz LPF'"
The semicolon after the "DISP AFAN" command tells the Test Set's GPIB
command parser that the next command is at the same level in the command
hierarchy as the display command. Similarly, the semicolon after the INP 'AM
DEMOD' command tells the command parser that the next command (FILT1
'300Hz HPF') is at the same command level as the INP 'AM DEMOD'
command.
Using the Semicolon Colon (;:) to Separate Commands
A semicolon followed by a colon (;:) tells the GPIB command parser that the next
command is at the top level of the command hierarchy. This allows commands for
different instruments to be output on one command line. The following example
sets the RF Analyzer's tune frequency to 850 MHz, and then sets the AF
Analyzer's input to FM Demod.
"RFAN:FREQ 850 MHZ;:AFAN:INP 'FM DEMOD'"
37
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com

Advertisement

Table of Contents
loading

Table of Contents