Remote control commands
R&S
®
SMM100A
669
User Manual 1179.1341.02 ─ 05
I/Q data or marker binary data, where the number of marker ele-
ments has to be equal to the number of I/Q samples
Binary block data follows the syntax:
#<Digits><Length><I0Q0...IxQx...IN-1QN-1>
or
#<Digits><Length><M0M1...Mx...MN-1>
#
Indicates the start of the data block
<Digits>
Decimal value
Gives the number of decimal digits used for the
<Length>
value
<Length>
Decimal value
Number of bytes the follow in the
<Binary data>
part
I0Q0...IxQx…IN-1QN-1
Binary data
in ASCII format
IxQx
represents binary data (16-bit signed integer in 2's com-
plement notation) containing the I and Q component alternately
and starting with the I component. Each I and Q component con-
sists of 2 bytes in MSB format (most significant byte first).
The values of the 2 bytes in an I component and a Q component
are in the range: -32767 to +32767.
M0M1…Mx…MN-1
Binary data
in ASCII format
Mx
represents one marker byte, where only the 4 least signifi-
cant bits are used. These 4 bits are assigned to the 4 possible
markers of the instrument, 1 bit per marker: Bit
0
= Marker 1 to
Bit
3
= Marker 4.
One 4-bit marker element is required for every I/Q sample.
Example:
:MMEM:DATA:UNPR "NVWFM:/var/user/wave.wv",#220<I0Q0..IxQx>
// the binary data <I0Q0..IxQx> is added to a file named
wave.wv
// and saved in the selected directory
// <I0Q0..IxQx> contains of 20 bytes, i.e. 5 I/Q samples,
// 2 bytes for each I and Q component
// <I0Q0..IxQx> is a placeholder;
// the actual ASCII values are not printable
:MMEMory:DATA:UNPRotected? "NVWFM:/var/user/wave.wv"
:MMEMory:DATA:UNPRotected "NVMKR:/var/user/wave.wv",#15<M0M1…M5>
// the specified marker data is added to a file named
wave.wv
// in the specified directory
// used are printable values;
// used are only the 4 least significant bits of a byte
:MMEMory:DATA:UNPRotected? "NVMKR:/var/user/wave.wv"
// note that, the query returns binary values
:SOURce1:BB:ARBitrary:WAVeform:CLOCk "/var/user/wave.wv",1.1E6
:SOURce1:BB:ARBitrary:WAVeform:CLOCk? "/var/user/wave.wv"
MMEMory subsystem