Remote control commands
R&S
®
SMM100A
799
User Manual 1179.1341.02 ─ 05
// ******************************************************************
// Set the default directory and list the available waveform files
// ******************************************************************
MMEM:CDIR "/var/user/ARB/multi_segment"
SOURce:BB:ARBitrary:WAVeform:CATalog:LENGth?
// 4
SOURce:BB:ARBitrary:WAVeform:CATalog?
// Seg_0, Seg_1, Seg_2, Seg_3
// ******************************************************************
// List the available configuration files and select/create file
// ******************************************************************
SOURce:BB:ARBitrary:WSEGment:CONFigure:CATalog?
// multi_segment,ms_waveform
// the directory contains the configuration files
multi_segment.inf_mswv
and
ms_waveform.inf_mswv
SOURce:BB:ARBitrary:WSEGment:CONFigure:DELete "ms_waveform.inf_mswv"
SOURce:BB:ARBitrary:WSEGment:CONFigure:SELect
"/var/user/ARB/multi_segment/config.inf_mswv"
// creates new empty
configuration file config.inf_mswv
// ******************************************************************
// Append waveforms to the multi segment sequence
// ******************************************************************
SOURce:BB:ARBitrary:WSEGment:CONFigure:SEGMent:APPend "Seg_0"
// Waveform
Seg_0.wv
will be the first segment of a
// multi segment waveform created with configuration file
config.inf_mswv
SOURce:BB:ARBitrary:WSEGment:CONFigure:SEGMent:APPend "Seg_1"
SOURce:BB:ARBitrary:WSEGment:CONFigure:SEGMent:APPend "Seg_2"
SOURce:BB:ARBitrary:WSEGment:CONFigure:SEGMent:APPend "Seg_3"
SOURce:BB:ARBitrary:WSEGment:CONFigure:BLANk:APPend 1000,100000000
// adds a blank segment with 1000 samples and 100 MHz clock rate
SOURce:BB:ARBitrary:WSEGment:CONFigure:LEVel:MODE ERMS
SOURce:BB:ARBitrary:WSEGment:CONFigure:CLOCk:MODE HIGHest
// SOURce:BB:ARBitrary:WSEGment:CONFigure:CLOCk:MODE USER
// SOURce:BB:ARBitrary:WSEGment:CONFigure:CLOCk 30000000
SOURce:BB:ARBitrary:WSEGment:CONFigure:MARKer:MODE TAKE
SOURce:BB:ARBitrary:WSEGment:CONFigure:SELect
"/var/user/ARB/multi_segment/config.inf_mswv"
SOURce:BB:ARBitrary:WSEGment:CONFigure:COMMent "Multi Segment File"
SOURce:BB:ARBitrary:WSEGment:CONFigure:OFILe "ms_0to3"
SOURce:BB:ARBitrary:WSEGment:CONFigure:SEGMent:CATalog?
// /var/user/ARB/multi_segment/Seg_0.wv,/var/user/ARB/multi_segment/Seg_1.wv,
// /var/user/ARB/multi_segment/Seg_2.wv,/var/user/ARB/multi_segment/Seg_3.wv
// ******************************************************************
// Create and load the waveforms into the ARB generator; the ARB is activated
SOURce subsystem