EasyManua.ls Logo

Rohde & Schwarz RTP Series - Protocol Analysis

Rohde & Schwarz RTP Series
2403 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Remote control commands
R&S
®
RTP
1139User Manual 1337.9952.02 ─ 12
//e.g. 'int8' for MATLAB
MMEM:DATA? "C:\Users\Public\Documents\Rohde-Schwarz\RTx\Temp\DataExpWfm.bin"
//Put header file into output buffer
header = readSCPIBinary(visaInstrument, binaryFormat);
//Pseudo Code, use appropriate command from your programming language,
//e.g. binblockread in MATLAB
MMEM:DATA? "C:\Users\Public\Documents\Rohde-Schwarz\RTx\Temp\DataExpWfm.Wfm.bin"
//Put data file into output buffer
//(your input buffer of the VISA resource might need to be increased)
wfmRaw = readSCPIBinary(visaInstrument, binaryFormat)
//Pseudo Code, use appropriate command from your programming language,
//e.g. binblockread in MATLAB.
//Note: Sort different acquisitions into an array separately after file transfer.
// --- Convert raw ADC values into voltage floating point values ---
// header is assumed to be a struct and the members are accessed via "." syntax.
vertOffsetByPosition = header.VerticalScale * header.VerticalPosition
conversionFactor = (1/header.NofQuantisationLevels) *
header.VerticalScale * header.VerticalDivisionCount
for(i = 0; i<100; i++){
wfmVolt(i) = wfmRaw(i) * conversionFactor +
header.VerticalOffset - vertOffsetByPosition
}
// Note: Depending on settings, the waveform can contain more samples than the
//record length. Remove leading and trailing samples from the waveform.
22.3.5.3 Exporting measurement results to file
See:
"Exporting histogram data to file" on page 1130
"Transferring histogram data" on page 1130
"Exporting long-term measurement data to file" on page 1131
"Transferring long-term measurement data" on page 1131
22.3.6 Protocol analysis
22.3.6.1 RFFE (option R&S RTP-K40)
Configuring RFFE bus
Example 1: 1.8 V bus
In the following example *OPC prevents overlapping execution of asynchronous com-
mands.
Programming examples

Table of Contents

Other manuals for Rohde & Schwarz RTP Series

Related product manuals