Tektronix DPO4000 User Manual Page 156

  • Download
  • Add to my manuals
  • Print
  • Page
    / 585
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 155
Commands Listed in Alphabetical Order
<x> is the numbe
r of y bytes. For e xample, if <yyy>=500, then <x>=3)
<yyy> is the number of bytes to transfer. If width is 1, then all bytes on the
bus are single
data points. If width is 2, then all bytes on the bus are 2-bytes
wide. Use the WFMInpre:BYT_Nr command t o set the width for waveforms
transferred into the oscilloscope. Use WFMOutpre:BYT_Nr to set the width
for waveforms transferred out from the oscilloscope.
<data> is the curve data.
<newline> is a single byte new line character at the end of the data.
<asc cu rve
>
is the w aveform data in ASCII format. The format for ASCII data
is
<NR1>[,<NR1>...], where each <NR1> represents a data point.
DIGital S
ends the data to the specied reference waveform slot, as specied
by the DATA:DESTINATION command. If the data encoding is a binary
format, then depending upon the setting of HEADER, the binary block header is
prepended to the output data. (MSO models only)
Examples
CURVE? with ASCII encoding, start and stop of 1 and 10 respectively, and a width
set to 1 might return
:CURVE 61 ,62,61,60,60,-5 9,-59,-58,-58,-59
NOTE. Curve data is transferred from the oscilloscope asynchronously, depending
on the length of the curve record. Such transfers may require several seconds
to complete. During this period, the oscilloscope will not respond to the user
controls. You can interrupt these asynchronous data transfers by sending a device
clear message to the oscilloscope or b y interrupting the query with another
command or query. In order to verify that curve data has been completely
transferred, it is recommended that you follow such queries with an *ESR?
query to verify there a re no error bits set. You can also check the event queue to
determine the cause of the error. If the error was caused by an interrupted query,
then the asynchronous data transfer was not complete when the *ESR? query was
sent. In such cases, it may be necessary to increase the program’s time-out value
to ensure that all data is transferred and read.
DATa
Sets or returns the format and location of waveform data transferred with the
CURVe? query or CURVe command.
Group
Waveform Transfer
Syntax
DATa {I NIT|SNAp}
DATa?
2-146 MSO4000 and DPO4000 Series Programmer Manual
Page view 155
1 2 ... 151 152 153 154 155 156 157 158 159 160 161 ... 584 585

Comments to this Manuals

No comments