
Masks
R&S
®
RTM20xx
123
User Manual 1317.4726.02 ─ 01
Remote commands for mask test results:
●
●
●
9.1.3 File Formats for Masks
Data of masks is always saved as a succession of pairs of values - lower and upper limit
- and the pairs are written as two consecutive single values. Depending on the file format,
only amplitude values are stored, or the amplitude values are stored together with their
sample index.
Amplitude values are not saved as voltage values but as division values. The minimum
value for evaluation is -5.12 DIV, the maximum is +5.12 DIV. The internal vertical range
of the instrument exceeds the visible vertical range of
±
4 DIV.
With export, you can convert the MSK file to CSV, TXT, or BIN formats. Import is possible
for MSK and CSV files.
MSK Format
MSK is the specific binary format for masks of the R&S
RTM. It contains pairs of amplitude
values (in divisions) , their sample indexes and current instrument settings. Thus, the
amplitude values are not related to time and voltage. The data can be loaded back to the
instrument for further use. The format is not intended for analysis outside the R&S
RTM.
CSV Format
In a Comma Separated Values text file, the waveform is stored in a two-columned table.
Columns are separated by a comma, and the lines are separated by line breaks
\r\n
(
0x0D 0x0A
).
The first column contains the sample indexes, and the second column contains the asso-
ciated amplitude values in divisions. The first line indicates the units of the values in each
column, and the name of the waveform. For each sample index, two values (minimum
and maximum) are written. The range of amplitude values is -5.12 to +5.12 divisions.
The data can be loaded back to the instrument for further use.
Example
: CSV file
[Sa],MSK1[DIV]
0.000E+00,-3.273E+00
0.000E+00,-7.831E-01
1.000E+00,-3.313E+00
1.000E+00,-8.232E-01
2.000E+00,-3.273E+00
2.000E+00,-8.232E-01
3.000E+00,-3.273E+00
3.000E+00,-7.831E-01
4.000E+00,-3.273E+00
About Masks