HP (Hewlett-Packard) 86140A TV Cables User Manual


 
4-7
Remote Operation
Getting Started
SCPI command are grouped in subsytems
In accordance with IEEE 488.2, the instruments commands are grouped into
subsystems. Commands in each subsystem perform similar tasks. The first
page of this chapter lists where each subsystem is documented.
Sending a command
Its easy to send a command to the instrument. Simply create a command
string from the commands listed in this book, and place the string in your pro-
gram languages output statement. For example, the following string places
marker1 on the peak of the active trace:
OUTPUT 723;CALC:MARK1:MAX
Use either short or long forms
Commands and queries may be sent in either long form (complete spelling) or
short form (abbreviated spelling). The description of each command in this
manual shows both versions; the extra characters for the long form are shown
in lowercase. The following is a long form of a command:
OUTPUT 723;:SENSe:WAVelength:STARt?
And this is the short form of the same command:
OUTPUT 723;:SENS:WAV:STAR?
You can use upper or lowercase letters
Program headers can be sent using any combination of uppercase or lower-
case ASCII characters. Instrument responses, however, are always returned in
uppercase.
Combine commands in the same subsystem
You can combine commands from the same subsystem provided that they are
both on the same level in the subsystems hierarchy; simply separate the com-
mands with a semi-colon (;). For example, the following two lines,
OUTPUT 723;:SENS:WAV:STAR 1300NM
OUTPUT 723;:SENS:WAV:STOP 1400NM
can be combined into one line:
OUTPUT 723;:SENS:WAV:STAR 1300NM;STOP 1400NM
The semicolon separates the two functions.
book.book Page 7 Monday, January 31, 2000 10:34 AM