EasyManua.ls Logo

Tektronix TDS210 - TDS1000 and TDS2000 Series Oscilloscopes; Table 2- 4: Comparison of Header off and Header on Responses

Tektronix TDS210
346 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Command Syntax
TDS200, TDS1000/2000, TDS1000B/2000B, TPS2000 Programmer
2-5
For example, MEASUrement:MEAS<x>:UNIts? returns the measure-
ment units, while MEASUrement:MEAS<x>:TYPe? returns the
measurement type selected for the measurement, and MEASUre-
ment:MEAS<x>? returns all the measurement parameters for the
specified measurement.
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 oscilloscope sends back only the values in
the response. This format can make it easier to parse and extract the
information from the response.
Table 2--4 shows the difference in responses.
Table 2- 4: Comparison of Header Off and Header On responses
Query Header Off response Header On response
ACQuire:NUMAVg? 64 :ACQUIRE:NUMAVG 64
CHx1:COUPling? DC :CH1:COUPLING DC
Clearing the Output Queue
To clear the output queue and reset the oscilloscope to accept a new
command or query, send a Device Clear (DCL) from a GPIB host.
From an RS-232 host, send a break signal. The RS-232 interface
responds by returni ng the ASCII string “DCL.”
From a USB host, send an INITIATE_CLEAR followed by a
CHECK_CLEAR_STATUS. The USB interface responds to
CHECK_CLEAR_STATUS with STATUS_SUCCESS when it is
finished clearing the output queue.

Table of Contents

Related product manuals