Remote control commands
R&S
®
RTP
1131User Manual 1337.9952.02 ─ 12
Command description in Chapter 22.16.6, "Waveform histogram export to file",
on page 1535.
EXP:HIST:SEL 'Histogram1'
EXP:HIST:INC ABS
*OPC? 
FORM ASC     
EXP:HIST:DATA?
<--0,0,0,0,0,2037,5754804,4683496,3100169,2874565,...
22.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 22.16.8, "Long term measurement results and mea-
surement histogram export to file", on page 1537.
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 22.16.8, "Long term measurement results and mea-
surement histogram export to file", on page 1537.
MEASurement:LTM ON
MEASurement:STAT ON
EXPort:MEASurement:SELect MEAS1
EXPort:MEASurement:TYPE LONGTERM
*OPC? 
FORM ASC
EXPort:MEASurement:DATA?
<--50,0.24901185771,0.24731225296,0.24703557312,0.00069270717936,0,50,....
Programming examples