Remote control commands
R&S
®
SMA100B
667User Manual 1178.3834.02 ─ 09
Example: List mode data exchange
The following example shows a command sequence to export a list (here the RF list
created with the example before) into an ASCII file. Further hardware settings are not
considered.
*RST; *CLS
LIST:DEXC:MODE EXP
// Set ASCII data parameters
// Set the ASCII file extension, the decimal separator
// and the column separator for the ASCII data
SOUR1:LIST:DEXC:AFIL:EXT CSV
SOUR1:LIST:DEXC:AFIL:SEP:DEC DOT
SOUR1:LIST:DEXC:AFIL:SEP:COL COMM
// Select source and destination path/directory
// Query available listfiles in default directory "/var/user"
SOUR1:LIST:CAT?
// list1
SOUR1:LIST:DEXC:AFIL:SEL "/var/user/list1ASCII"
SOUR1:LIST:DEXC:SEL "/var/user/list1"
// Export the list file data into the ASCII file
SOUR1:LIST:DEXC:EXEC
// Query the available ASCII files with extension .csv
SOUR1:LIST:DEXC:AFIL:CAT?
// Response: "list1ASCII"
// Deactivate the list mode
SOUR1:FREQ:MODE CW
● List mode settings................................................................................................. 667
● List mode file operation.........................................................................................673
● List mode data exchange......................................................................................675
14.16.7.1 List mode settings
With the following commands, you can create list mode data, select the trigger mode
and determine the dwell time.
[:SOURce<hw>]:LIST:DWELl.......................................................................................... 668
[:SOURce<hw>]:LIST:DWELl:MODE................................................................................668
[:SOURce<hw>]:LIST:DWELl:LIST...................................................................................668
[:SOURce<hw>]:LIST:DWELl:LIST:POINts?......................................................................669
[:SOURce<hw>]:LIST:FREQuency...................................................................................669
[:SOURce<hw>]:LIST:FREQuency:POINts?......................................................................670
[:SOURce<hw>]:LIST:INDex............................................................................................670
[:SOURce<hw>]:LIST:INDex:STARt................................................................................. 670
[:SOURce<hw>]:LIST:INDex:STOP..................................................................................670
SOURce subsystem