Appendix D: Waveform Transfer (WFMOutpre and CURVe Query) Examples
Example 6: Dig
ital with 8 Bytes Per Point and MagniVu On
Goal: Transfer 25 points of Digital data from the oscilloscope to a PC using 8
bytes per point and Zoom on.
Command Comment
:DATa:SOUrce CH1_D1
:ACQuire:MAGnivu 1
:DATa:STA
RT 1
:DATa:STOP 25
:WFMOutpre:ENCdg ASCii
:WFMOutpre:BYT_Nr 8
: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 P C or other device (see next table for explanations):
:WFMOUTPRE:BYT_NR 8;B IT_NR 64;ENCDG ASCII;BN_FMT
RI;BYT_OR MSB;WFID "Digital, unknown coupling,
100.0us/div, 10000 points, Digital mode";NR_PT 25;PT_FMT
Y;PT_ORDER LINEAR;XUNIT "s";XINCR 1.2121E-9;XZERO
-6.0606E-6;PT_OFF 0;Y UNIT "State";YMULT 1.0000;YOFF
0.0E+0;YZERO 0.0E+0
:CURVe?
Returns the following values. Each value represents a data point:
:CURVe
80000FB787,80000FB 787,E8000FB 787,8C000FB7E7,8C000FB7E7,
84000FB7EF,CC000FB 7A7,8C000FB 7A7,8C000FB7A7,84000FB7A7,
84000FB7A7,80000FB 7A7,80000FB 7A7,80000FB7A7,80000FB7A7,
80000FB7A7,80000FB 7A7,80000FB 7A7,C8000FB7A7,8C000FB7E7,
8C000FB7E7,84000FB 7EF,CC000FB 7A7,8C000FB7A7,8C000FB7A7
NOTE. The returned hexadecimal data values are formatted without leading
zeroes.
NOTE. You can also use the
WAVFrm?
query, which concatenates the
WFMOutpre?
and
CURVe?
queries.
MSO54, MSO56, MSO58, MSO58LP Programmer D-13