Remote control commands
R&S
®
RTE
1062User Manual 1326.1032.02 ─ 20
In the following example *OPC prevents overlapping execution of asynchronous com-
mands.
● Exporting a single waveform to XML file.............................................................1062
● Exporting raw data of a single waveform to BIN file............................................1062
● Exporting raw data of a measurement gate to BIN file........................................1063
● Exporting interleaved x/y data of a single waveform to CSV file.........................1063
● Exporting interleaved x/y data of a zoom to CSV file..........................................1064
● Exporting multiple running acquisitions of a single waveform to XML file...........1064
● Exporting a single acquisition of the history to BIN file....................................... 1065
● Exporting multiple acquisition of the history to XML file......................................1065
● Exporting and reconstructing multiple raw acquisitions of the history file........... 1066
Exporting a single waveform to XML file
Saves a single analog waveform completely to an XML file. Data logging is off.
The usage of asynchronous commands is described in www.rohde-schwarz.com/rc-
via-scpi, chapter "Command Sequence and Synchronization".
STOP;*OPC?
EXPort:WAVeform:FASTexport ON
CHANnel1:WAVeform1:STATe 1
*OPC?
RUNSingle;*OPC?
EXPort:WAVeform:SOURce C1W1
EXPort:WAVeform:SCOPe WFM
EXPort:WAVeform:NAME 'C:\Data\DataExportWfm_analog.xml'
EXPort:WAVeform:RAW OFF
EXPort:WAVeform:INCXvalues OFF
EXPort:WAVeform:DLOGging OFF
MMEM:DEL 'C:\Data\DataExportWfm_analog.*'
EXPort:WAVeform:SAVE
*OPC?
MMEM:DATA? 'C:\Data\DataExportWfm_analog.xml'
MMEM:DATA? 'C:\Data\DataExportWfm_analog.wfm.xml'
Exporting raw data of a single waveform to BIN file
Saves the data of a single analog waveform in integer 8-bit format (raw data) to a BIN
file. Data logging is off.
Data conversion is described in "Raw (ADC direct)" on page 489.
In the following example *OPC prevents overlapping execution of asynchronous com-
mands.
STOP;*OPC?
EXPort:WAVeform:FASTexport ON
CHANnel1:WAVeform1:STATe 1
RUNSingle; *OPC?
EXPort:WAVeform:SOURce C1W1
EXPort:WAVeform:SCOPe WFM
EXPort:WAVeform:NAME 'C:\Data\DataExportWfm_analog.bin'
Programming examples