Remote control commands
R&S
®
RTO6
1267User Manual 1801.6687.02 ─ 05
24.3.5.2 Exporting waveform data to file
Command description in:
●
Chapter 24.16.4, "W
aveform data export to file", on page
1649
●
Chapter 24.16.1, "Instrument settings", on page 1640
●
Chapter 24.10.4, "History", on page 1461
In the following example *OPC prevents overlapping execution of asynchronous com-
mands.
● Exporting a single waveform to XML file.............................................................1267
● Exporting raw data of a single waveform to BIN file............................................1267
● Exporting raw data of a measurement gate to BIN file........................................1268
● Exporting interleaved x/y data of a single waveform to CSV file.........................1269
● Exporting interleaved x/y data of a zoom to CSV file..........................................1269
● Exporting multiple running acquisitions of a single waveform to XML file...........1270
● Exporting a single acquisition of the history to BIN file....................................... 1270
● Exporting multiple acquisition of the history to XML file......................................1271
● Exporting and reconstructing multiple raw acquisitions of the history file........... 1271
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 461.
In the following example *OPC prevents overlapping execution of asynchronous com-
mands.
Programming examples