![background image](http://html.mh-extra.com/html/tektronix/mso54/mso54_programmers-manual_1078778982.webp)
Appendix D: Waveform Transfer (WFMOutpre and CURVe Query) Examples
Command
Comment
:HEADer 1
:VERBose 1
:WFMOutpre?
Returns the following values. Each value represents the current settings that
a
CURVe?
query will use to format the data that will be transferred from the
oscilloscope to a PC or other device (see next table for explanations):
:WFMOUTPRE:BYT_NR 1;BIT_NR 8;ENCDG ASCII;BN_FMT
RI;BYT_OR MSB;WFID "D5, unknown coupling,
100.0us/div, 10000 points, Digitalmode";NR_PT 25;PT_FMT
Y;PT_ORDER LINEAR;XUNIT "s";XINCR 100.0000E-9;XZERO
-500.0000E-6;PT_OFF 0;YUNIT "State";YMULT 1.0000;YOFF
0.0E+0;YZERO 0.0E+0
:CURVe?
Returns the following values. Each value represents a data point:
:CURVe 0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0
NOTE.
You can also use the
WAVFrm?
query, which concatenates the
WFMOutpre?
and
CURVe?
queries.
WFMOutpre? Query results
Explanation
WFMOUTPRE:BYT_NR 1
This value speci
fi
es the number of bytes per data point in the waveform data. To change
this value automatically, use the
command. Note that changing this
value automatically changes the
BIT_NR
value accordingly. (This value can also be set
using the
command.)
BIT_NR 8
This value speci
fi
es the number of bits per data point in the waveform data. To change this
value, use the
command. Note that changing this value automatically
changes the
BYT_NR
value accordingly.
ENCDG ASCII
This value speci
fi
es the encoding of the waveform data. To change this value (the
other possibility is BINARY), use the
command. (This value can
also be set using the
command, which provides the ability to set the
WFMOutpre:ENCdg, WFMOutpre:BN_Fmt,
: and
WFMOutpre:BYT_Or
values
using a single command.)
BN_FMT RI
This value speci
fi
es the binary format, which in this case is RI (signed integer). To change
this value (the other possibility is RP or positive integer), use the
command. Note: this
fi
eld is not applicable for ASCii encoding.
BYT_OR MSB
This value speci
fi
es the byte order for the BINARY encoding, which in this case is MSB
(most signi
fi
cant byte
fi
rst, also known as IBM format). To change this value to LSB, use the
command. Note: this
fi
eld is not applicable for ASCii encoding.
WFID "D5, unknown
coupling, 100.0us/div,
10000 points, Digital
mode"
This quoted string represents information about the source waveform that would be returned
by a.
WFMOutpre:WFId?
query. It cannot be changed.
D-4
MSO54, MSO56, MSO58, MSO58LP Programmer
Summary of Contents for MSO54
Page 1: ...xx 5 Series MSO MSO54 MSO56 MSO58 MSO58LP ZZZ Programmer Manual P077130502 077 1305 02 ...
Page 2: ......
Page 3: ...5 Series MSO MSO54 MSO56 MSO58 MSO58LP ZZZ Programmer Manual xx www tek com 077 1305 02 ...
Page 8: ...Preface iv MSO54 MSO56 MSO58 MSO58LP Programmer ...
Page 26: ...Command Syntax 2 10 MSO54 MSO56 MSO58 MSO58LP Programmer ...
Page 936: ...Status and Events 3 20 MSO54 MSO56 MSO58 MSO58LP Programmer ...
Page 937: ...Appendix A Character Set MSO54 MSO56 MSO58 MSO58LP Programmer A 1 ...
Page 938: ...Appendix A Character Set A 2 MSO54 MSO56 MSO58 MSO58LP Programmer ...