Remote control commands
R&S
®
RTP
1134User Manual 1337.9952.02 ─ 12
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'
EXPort:WAVeform:RAW ON
EXPort:WAVeform:INCXvalues OFF
EXPort:WAVeform:DLOGging OFF
MMEM:DEL 'C:\Data\DataExportWfm_analog.*'
EXPort:WAVeform:SAVE
*OPC?
MMEM:DATA? 'C:\Data\DataExportWfm_analog.bin'
MMEM:DATA? 'C:\Data\DataExportWfm_analog.wfm.bin'
Exporting raw data of a measurement gate to BIN file
Saves the data of a measurement gate in integer 8-bit format (raw data) to a BIN file.
Data logging is off.
Programming examples