MDO3000 Programmer Manual.pdf - 第632页

Commands Listed in A lphabetical Order Array Name Leng th (string length of name - e.g. 6 for IQData) Array Name (including pad bytes which are 0's) (see Array Size above) Array Data Element T ype (4 bytes) = miSING…

100%1 / 1158
Commands Listed in Alphabetical Order
Type of Array Fl
ags (4 bytes) = miUINT32 (6)
Size of Array Flags (4 bytes) = 8
Array Flags (8 bytes) = 0 0 0 mxDOUBLE_CLASS=6 0 0 0 0
Dimensions Array Type (4 bytes) = miINT32 (5)
Dimensions Array Length (4 bytes) = 8
X Dimension (4 bytes) = 1
Y Dimension (4 bytes) = 1
Array Name Type (4 bytes) = miINT8 (1)
Array Name Length (string length of name - e.g. 10 for CenterFreq)
Array Name (including pad bytes which are 0's) (see Array Size above)
Array Data Element Type (4 bytes) = miDOUBLE (9)
SizeofArray(4bytes)=8
The Instrument Setting Value (8 bytes)
Pad Bytes: 0 or more 0 bytes to end the record on an 8-byte boundary
The actual IQ data record with values written as single precision floating point
values (miSINGLE):
The I data array is written first:
Array Type (4 bytes) = miSINGLE (7)
Array Size (4 bytes) = 56 + nameLen + padding
nameLen is the string length of the name
padding = (8 - (nameLen % 8)) % 8
Type of Array Flags (4 bytes) = miUINT32 (6)
Size of Array Flags (4 bytes) = 8
Array Flags (8 bytes) = 0 0 miFLAGS_COMPLEX=8 mxSINGLE_CLASS=7
0000
Dimensions Array Type (4 bytes) = miINT32 (5)
Dimensions Array Length (4 bytes) = 8
X Dimension (4 bytes) = number of IQ samples (IQ record length)
Y Dimension (4 bytes) = 1
Array Name Type (4 bytes) = miINT8 (1)
MDO4000/B/C, MSO/DPO4000B and MDO3000 Series Oscilloscopes Programmer Manual 2-601
Commands Listed in Alphabetical Order
Array Name Leng
th (string length of name - e.g. 6 for IQData)
Array Name (including pad bytes which are 0's) (see Array Size above)
Array Data Element Type (4 bytes) = miSINGLE (7)
Size of Array (4 bytes) = (IQ record length) * 4
The I data values as 4-byte floating point values
Pad Bytes: 0 or more 0 bytes to end the record on an 8-byte boundary
The Q data i
s written next:
Data Type (4 bytes) = miSINGLE (7)
Size of Array (4 bytes) = (IQ record length) * 4
The Q data values as 4-byte floating point values
Pad Bytes: 0 or more 0 bytes to end the record on an 8-byte boundary
NOTE. The external le structure is as follows:
E: is the USB memory device plugged into the rst ( left) USB port on the front of
the oscilloscope.
F: is the USB memory device plugged into the second (right) USB port on the
front of the oscilloscope. (Not available for MDO3000).
G: and H: are the USB memory device plugged into the USB ports on the rear o f
the oscilloscope. (Not available for MDO3000 models.)
I: Z: are for network storage.
Group
Save and Recall
Syntax
SAVe:WAVEform <Source> ,<Destination>
Related Commands
RECAll:WAVEform,
SAVe:WAVEform:FILEFormat
Arguments
<source> can be one of:
CH1-4, MATH, REF1-4 -
These sources can be saved to REF1-4, an ISF or CSV file. For instruments
with the arbitrary waveform feature, these sources can be saved to EMEM (edit
memory) with the restriction tha
t MATH and REF1-4 sources must be time
2-602 MDO4000/B/C, MSO/DPO4000B and MDO3000 Series Oscilloscopes Programmer Manual
Commands Listed in Alphabetical Order
domain wavefor
ms. Waveform sources with record lengths greater than 131072
points saved to EMEM are decimated to fit in the 131072 point edit memory.
D0-D15 -
These digital waveform sources can only be saved to CSV files and, for
instrument
s with the arbitrary waveform feature, to EMEM.
EMEM (instruments with the arbitrary waveform feature) - EMEM is the arbitrary
waveform ed
it memory. EMEM can be saved to a CSV file or to one of the
4 internal arbitrary waveform storage locations (ARB1-4).
ARB1-4 is o
ne of the internal arbitrary waveform storage locations. These sources
can only be saved to ARB1-4 or to a CSV file. ARB1-4 can be copied to another
of the internal arbitrary waveform storage locations: e.g. :SAVe:WAVEform
ARB1,ARB2. To recall from an arbitrary storage location to EMEM, use the
:RECAll:WAVEform command.
RF_NORMal, RF_AVErage, RF_MAXHold, RF_MINHold - These sources can
be saved to REF1-4, an ISF or CSV file
RF_BB_IQ specifies to save baseband I & Q data. This file format is
automatically saved using a .TIQ file extension. You can import .TIQ files into
Tektronix SignalVu-PC software (PC based), SignalVu software (oscilloscope
based
), RSAVu software (PC based) or into a Tektronix real-time spectrum
analyzer for pulse analysis and demodulation analysis.
ALL -
Specifies all displayed waveforms subject to the restrictions indicated inthe
note below for saving ALL waveforms.
<de
stination> can be one of:
REF1-4 - For saving a single scope waveform to one of the 4 internal reference
wa
veform memory storage locations (see descriptions for source waveforms
above for which waveforms can be saved to REF1-4).
E
MEM
- For instruments with the arbitrary waveform feature, scope waveforms
(CH1-4, MATH, REF1-4, D0-D15) can be saved to arbitrary waveform edit
memory. MATH and REF1-4 waveforms can only be time domain.
ARB1-ARB4 - For instruments with the arbitrary waveform feature, EMEM
can be saved to one of the 4 internal arbitrary waveform memorylocations.
Additionally, ARB1-4 can be copied to another of the internal arbitrary waveform
memory locations: e.g. :SAVe:WAVEform ARB1,ARB2
<file p ath> - Specifies the destination file path to save the specified
waveform(s). The file path is a quoted string that specifies the file name and
path. Specify the file path using the form <drive>:<dir>/<filename>. <drive> and
one or more <dir>s are optional. If you do not specify them, the instrument will
write the waveform to the current working directory. <filename> stands for a
filename of up to 125 characters, followed by a period (".") and the three-character
extension. Waveform files should have a .isf extension for internal save format
MDO4000/B/C, MSO/DPO4000B and MDO3000 Series Oscilloscopes Programmer Manual 2-603