Tektronix TDS 350 Sprinkler User Manual


 
Command Syntax
TDS 310, TDS 320 & TDS 350 Programmer Manual
2Ć3
Commands
Commands cause the oscilloscope to perform a specific function or change
one of its settings. Commands have the structure:
H [:]<Header>[<Space><Argument>[<Comma><Argument>]...]
A command header is made up of one or more mnemonics arranged in a
hierarchical 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 about its status or
settings. Queries have the structure:
H [:]<Header>?
H [:]<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. For example,
DISplay:INTENSITy:CONtrast? returns the intensity of the intensified
zone of a waveform, while DISplay:INTENSITy? returns the intensity
settings of all parts of the display.
Headers in Query Responses
You can control whether the oscilloscope returns headers as part of the query
response. Use the HEADer command to control this feature. If header is on,
the oscilloscope returns command headers as part of the query, and formats
the query response as a valid set command. When header is off, the oscilloĆ
scope sends back only the values in the response. This may make it easier to
parse and extract the information from the response. Table 2Ć3 shows the
difference in responses.
TableĂ2Ć3:ăComparison of Header Off and On Responses
Query
Header Off Response Header On Response
CURSor:VBArs:
DELTa?
1.064E–03 :CURSor:VBArs:DELTa
1.064E–03
ACQuire:
NUMAVg?
16 :ACQUIRE:NUMAVG 16