Remote control commands
R&S
®
SMM100A
796
User Manual 1179.1341.02 ─ 05
................................................................................................ 836
................................................................................................ 840
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:SIGNal:TYPE CIQ
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
// ******************************************************************
SOURce subsystem