Remote Control Commands
R&S
®
SMW200A
920User Manual 1175.6632.02 ─ 16
Programming Examples
Example: Creating test signals
The following example lists commands necessary to configure the different test sig-
nals.
// ******************************************************************
// Reset instrument first
// ******************************************************************
*RST; *CLS
SOURce:BB:ARBitrary:PRESet
// ******************************************************************
// Create test signals
// ******************************************************************
SOURce:BB:ARBitrary:TSIGnal:CIQ:I -0.5
SOURce:BB:ARBitrary:TSIGnal:CIQ:Q -0.33
SOURce:BB:ARBitrary:TSIGnal:CIQ:CREate
SOURce:BB:ARBitrary:TSIGnal:SINE:FREQuency 1MHz
SOURce:BB:ARBitrary:TSIGnal:SINE:SAMPles 100
SOURce:BB:ARBitrary:TSIGnal:SINE:PHASe -90
SOURce:BB:ARBitrary:TSIGnal:SINE:CREate:NAMed "/var/user/ARBtestSignals/sineTest"
SOURce:BB:ARBitrary:TSIGnal:RECTangle:FREQuency 100KHz
SOURce:BB:ARBitrary:TSIGnal:RECTangle:SAMPles 1000
SOURce:BB:ARBitrary:TSIGnal:RECTangle:AMPLitude 0.5
SOURce:BB:ARBitrary:TSIGnal:RECTangle:OFFSet -0.3
SOURce:BB:ARBitrary:TSIGnal:RECTangle:CREate:NAMed "/var/user/ARBtestSignals/rectTest"
SOURce:ARBitrary:STATe ON
Example: Managing waveform files
The following example lists the commands provided for handling of waveform files.
// ******************************************************************
// Reset instrument first
// ******************************************************************
*RST; *CLS
SOURce:BB:ARBitrary:PRESet
// ******************************************************************
// Set the default directory and list the available waveform files
// ******************************************************************
MMEM:CDIR "/var/user/ARBtestSigs"
SOURce:BB:ARBitrary:WAVeform:CATalog?
// sineTest,rectTest,ciqTestSignal,waveformTest,test2
SOURce:BB:ARBitrary:WAVeform:CATalog:LENGth?
// 5
SOURce Subsystem