Command Syntax
2-4
TDS200, TDS1000/2000, TDS1000B/2000B, TPS2000 Programmer
Figure 2--1 shows the five command message elements.
Comma
SAVe:WAVEform CH1,REFA
Header
Mnemonics Arguments
Space
Figure 2- 1: Command message elements
Commands
Commands cause the oscilloscope to perform a specific function or
change one of its set tings. Commands have the structure:
[:]<Header>[<Space><Argument>[<Comma><Argument>]...]
A command header is made up of one or more mnemonics arranged
in a h ierarchical or tree structure. The first mnemonic is the base or
root of the tree and each subsequent mnemonic is a level or branch
off of the previous one. Commands at a higher level in the tree may
affect those at a lower level. The leading colon (:) always returns
you to the base of the command tree.
Queries
Queries cause the oscilloscope to return information a bout its stat us
or settings. Queries have the structure:
[:]<Header>?
[:]<Header>?[<Space><Argument>[<Comma><Argument>]...]
You can specify a query command at any level within the command
tree unless otherwise noted. These branch queries return information
about all the mnemonics below the specified branch or level.