Appendix D: Waveform Transfer (WFMOutpre and CURVe Query) Examples
Example 6: Digital 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:START
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 PC or other device (see next table for explanations):
:WFMOUTPRE:BYT_NR 8;BIT_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;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
80000FB787,80000FB787,E8000FB787,8C000FB7E7,8C000FB7E7,
84000FB7EF,CC000FB7A7,8C000FB7A7,8C000FB7A7,84000FB7A7,
84000FB7A7,80000FB7A7,80000FB7A7,80000FB7A7,80000FB7A7,
80000FB7A7,80000FB7A7,80000FB7A7,C8000FB7A7,8C000FB7E7,
8C000FB7E7,84000FB7EF,CC000FB7A7,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
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 ...