![Tektronix TDS 410A Programming Manual Download Page 21](http://html1.mh-extra.com/html/tektronix/tds-410a/tds-410a_programming-manual_1079127021.webp)
Command Syntax
TDS Family Oscilloscope Programmer Manual
2–3
A command header consists of one or more mnemonics arranged in a hierarchi-
cal or tree structure. The first mnemonic is the base or root of the tree and each
subsequent mnemonic is a level or branch off 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 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 mnemon-
ics below the specified branch or level. For example,
MEASUreĆ
ment:MEAS<x>:DELay:DIRection?
returns the starting point and direction of
the edge of a delayed measurement, while
MEASUrement:MEAS<x>:DELay?
returns the current settings of all delayed measurement parameters, and
MEASUrement:MEAS<x>?
returns all the measurement parameters for the
specified measurement.
You can control whether the digitizing oscilloscope returns headers as part of the
query response. Use the
HEADer
command to control this feature. If header is on,
the query response returns command headers and formats itself as a valid set
command. When header is off, the response includes only the values. 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
APPMenu:TITLe?
"Test Setup"
:APPMENU:TITLE "Test
Setup"
ACQuire:NUMAVg?
100
:ACQUIRE:NUMAVG 100
Clearing the TDS Family Oscilloscope
You can clear the Output Queue and reset the digitizing oscilloscope to accept a
new command or query by using the Device Clear (DCL) GPIB command.
Command Entry
H
You can enter commands in upper or lower case.
Queries
Headers in Query
Responses
Summary of Contents for TDS 410A
Page 4: ......
Page 10: ...Table of Contents vi TDS Family Oscilloscope Programmer Manual ...
Page 56: ...Command Groups 2 38 TDS Family Oscilloscope Programmer Manual ...
Page 346: ...Status and Events 3 20 TDS Family Oscilloscope Programmer Manual ...
Page 352: ...Program Examples 4 6 TDS Family Oscilloscope Programmer Manual ...
Page 358: ...Appendix B Reserved Words B 4 TDS Family Oscilloscope Programmer Manual ...
Page 382: ...Index Index 14 TDS Family Oscilloscope Programmer Manual ...