Remote control commands
R&S
®
RTE
1059User Manual 1326.1032.02 ─ 20
Exporting histogram data to file
The example writes the absolute data values of Histogram1 to
C:\Histograms\Hist1.xml in XML format.
Command description in Chapter 18.16.6, "Waveform histogram export to file",
on page 1407.
EXPort:HISTogram:SELect 'Histogram1'
EXPort:HISTogram:INCidence ABS
EXPort:HISTogram:NAME 'C:\Histograms\Hist1.xml'
EXPort:HISTogram:SAVE
*OPC?
Transferring histogram data
The example transfers the absolute values of Histogram1 to a controlling computer in
ASCII format.
Command description in Chapter 18.16.6, "Waveform histogram export to file",
on page 1407.
EXP:HIST:SEL 'Histogram1'
EXP:HIST:INC ABS
*OPC?
FORM ASC
EXP:HIST:DATA?
<--0,0,0,0,0,2037,5754804,4683496,3100169,2874565,...
18.3.2.4 Long-term measurements
In the following example *OPC prevents overlapping execution of asynchronous com-
mands.
Exporting long-term measurement data to file
The example writes the long-term data of Meas1 to C:\Measurements\Meas1.csv
in CSV format.
Command description in Chapter 18.16.9, "Long term measurement results and mea-
surement histogram export to file", on page 1410.
EXPort:MEASurement:SEL MEAS1
EXPort:MEASurement:TYPE LONGTERM
EXPort:MEASurement:NAME 'C:\Measurements\Meas1.csv'
EXPort:MEASurement:SAVE
*OPC?
Transferring long-term measurement data
The example transfers the long-term data of Meas1 to a controlling computer in ASCII
format.
Command description in Chapter 18.16.9, "Long term measurement results and mea-
surement histogram export to file", on page 1410.
Programming examples