![R&S RTO6 Скачать руководство пользователя страница 1271](http://html2.mh-extra.com/html/rands/rto6/rto6_user-manual_30646461271.webp)
Remote control commands
R&S
®
RTO6
1271
User Manual 1801.6687.02 ─ 05
Exporting multiple acquisition of the history to XML file
Saves the data of 5 subsequent acquisitions of the history to an XML file. Data logging
is on.
In the following example
*OPC
prevents overlapping execution of asynchronous com-
mands.
STOP;*OPC?
EXPort:WAVeform:FASTexport ON
CHANnel1:WAVeform1:STATe 1
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 ON
*OPC?
MMEM:DEL 'C:\Data\DataExportWfm_analog.*'
ACQuire:COUNt 5 //Acquire 5 waveforms
RUNSingle;*OPC?
CHANnel1:WAV1:HISTory:STATe ON
CHANnel1:WAV1:HISTory:STARt -4
CHANnel1:WAV1:HISTory:STOP 0
CHANnel1:WAV1:HISTory:REPLay OFF
CHANnel1:WAV1:HISTory:PLAY
*OPC?
MMEM:DATA? 'C:\Data\DataExportWfm_analog.xml'
MMEM:DATA? 'C:\Data\DataExportWfm_analog.wfm.xml'
Exporting and reconstructing multiple raw acquisitions of the history file
This example captures and exports 100 waveforms acquired in fast segmentation
mode (minimize blind time). The data is transferred in blocks using SCPI commands.
In the following example
*OPC
prevents overlapping execution of asynchronous com-
mands.
// --- Set data format to signed integers, 1 byte
FORMat:DATA INT,8
// --- Create history data (assuming on channel 1) ---
CHANnel1:WAVeform1:STATe 1 //turn on channel 1
ACQuire:COUNt 100 //acquire 100 waveforms
ACQuire:SEGMented:STATe ON; *OPC?
//turn on fast segmentation, acquisition is started and data is stored in the memory
// --- Set Export variables and export data ---
EXPort:WAVeform:SOURce C1W1 //specify source for data export
EXPort:WAVeform:SCOPe WFM //specify range: complete acq. time
MMEM:DEL "C:\Users\Public\Documents\Rohde-Schwarz\RTx\Temp\DataExportWfm_analog.*"
//delete data from previous runs of this script
Programming examples