
Command Groups
Each data value requires two to seven characters. This includes one to
fi
ve
characters to represent the value, another character, if the value is negative, to
represent a minus sign, and a comma to separate the data points.
An example ASCII waveform data string may look like this:
CURVE<space>-110,-109,-110,-110,-109,-107,-109,-107,-106,
-105,-103,-100,-97,-90,-84,-80
NOTE.
You can use ASCII to obtain a readable and easier to format output than
binary. However, the oscilloscope may require bytes to send the same values with
ASCII than with binary, reducing transmission speed.
The use of ASCII for waveform data transfer is inef
fi
cient. ASCII-formatted
Waveform (WAVFRM?) and Curve (CURVE?) queries, exceeding 1 M points,
are not supported.
Binary Data.
Binary data is represented by signed integer or positive integer
values. The range of the values depends on the byte width speci
fi
ed. When the
byte width is one, signed integer data ranges from -128 to 127, and positive
integer values range from 0 to 255. When the byte width is two, the values range
from -32768 to 32767. and positive integer values range from 0 to 65,535.
Table 2-34: Binary data ranges
Byte width
Signed integer range
Positive integer range
1
-128 to 127
0 to 255
2
32,768 to 32,767
0 to 65,535
The de
fi
ned binary formats also specify the order in which the bytes are
transferred. The four binary formats are RIBinary, RPBinary, SRIbinary, and
SRPbinary.
RIBinary is signed integer where the most signi
fi
cant byte is transferred
fi
rst, and
RPBinary is positive integer where the most signi
fi
cant byte is transferred
fi
rst.
SRIbinary and SRPbinary correspond to RIBinary and RPBinary respectively but
use a swapped byte order where the least signi
fi
cant byte is transferred
fi
rst. The
byte order is ignored when DATa:WIDth is set to 1.
Waveform Data and Record
Lengths
You can transfer multiple points for each waveform record. You can transfer a
portion of the waveform or you can transfer the entire record. You can use the
DATa:STARt and DATa:STOP commands to specify the
fi
rst and last data points
of the waveform record.
When transferring data into the oscilloscope, you must
fi
rst specify the record
length of the destination waveform record. You do this with the WFMInpre:NR_Pt
2-64
MSO4000 and DPO4000 Series Programmer Manual
Содержание DPO4000 Series
Страница 2: ......
Страница 10: ...Table of Contents vi MSO4000 and DPO4000 Series Programmer Manual ...
Страница 23: ...Command Syntax MSO4000 and DPO4000 Series Programmer Manual 2 9 ...
Страница 24: ...Command Syntax 2 10 MSO4000 and DPO4000 Series Programmer Manual ...
Страница 84: ...Command Groups 2 70 MSO4000 and DPO4000 Series Programmer Manual ...
Страница 546: ...Commands Listed in Alphabetical Order 2 532 MSO4000 and DPO4000 Series Programmer Manual ...
Страница 564: ...Status and Events 3 18 MSO4000 and DPO4000 Series Programmer Manual ...
Страница 565: ...Appendix A Character Set MSO4000 and DPO4000 Series Programmer Manual A 1 ...
Страница 566: ...Appendix A Character Set A 2 MSO4000 and DPO4000 Series Programmer Manual ...
Страница 572: ...Appendix B Reserved Words B 6 MSO4000 and DPO4000 Series Programmer Manual ...