Remote Control Commands
R&S
®
SMW200A
891User Manual 1175.6632.02 ─ 16
Programming Examples
Example: Performing general tasks
This example shows how to enable Custom Digital Modulation with predefined settings
as basis for further customization (e.g. adjusting the data source); intermediate results
and configuration are stored with the save/recall function.
// ******************************************************************
// Reset instrument first
// ******************************************************************
*RST; *CLS
SOURce:BB:DM:PRESet
SOURce:BB:DM:STANDard W3GPp
SOURce:BB:DM:SRATe?
// 3840000
SOURce:BB:DM:CODing?
// WCDMA
SOURce:BB:DM:FORMat?
// QPSK45
SOURce:BB:DM:STATe ON
SOURce:BB:DM:SETTing:STORe "/var/user/digMod/CustDM3GPP"
// ******************************************************************
// Recall settings
// ******************************************************************
MMEM:CDIR "/var/user/digMod"
SOURce:BB:DM:SETTing:CATalog?
// CusDigMod,cdm3gpp, CustDM3GPP
SOURce:BB:DM:SETTing:DELete "cdm3gpp"
SOURce:BB:DM:SETTing:LOAD "CusDigMod"
// ******************************************************************
// Change the data source
// ******************************************************************
SOURce:BB:DM:SOURce?
// PRBS
SOURce:BB:DM:PRBS:LENGth?
// 9
SOURce:BB:DM:SOURce DLISt
// Set the default directory and query the existing data lists
MMEM:CDIR "/var/user/DLists"
SOURce:BB:DM:DLISt:CATalog?
// "DList1","DList2"
// delete a list and create a new data list
SOURce:BB:DM:DLISt:DELete "DList1"
SOURce:BB:DM:DLISt:SELect "DList2"
// copy the content of an existing data list to the new data list
SOURce:BB:DM:DLISt:COPY "DList3"
SOURce Subsystem