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