Clist

SCPI Commands :

[SOURce<HW>]:BB:DM:CLISt:CATalog
[SOURce<HW>]:BB:DM:CLISt:COPY
[SOURce<HW>]:BB:DM:CLISt:DATA
[SOURce<HW>]:BB:DM:CLISt:DELete
[SOURce<HW>]:BB:DM:CLISt:FREE
[SOURce<HW>]:BB:DM:CLISt:POINts
[SOURce<HW>]:BB:DM:CLISt:SELect
[SOURce<HW>]:BB:DM:CLISt:TAG
class ClistCls[source]

Clist commands group definition. 8 total commands, 0 Subgroups, 8 group commands

copy(filename: str) None[source]
# SCPI: [SOURce<HW>]:BB:DM:CLISt:COPY
driver.source.bb.dm.clist.copy(filename = 'abc')

Copies the selected data list (.dm_iqd) / control list (.dm_iqc) as a new list with name specified by <Filename>. If a list with the specified name exists, it is overwritten. If it does not yet exist, it is created. The source file has to be available in the default directory (see method RsSmw.MassMemory.currentDirectory) . Refer to ‘Accessing files in the default or in a specified directory’ for general information on file handling in the default and a specific directory.

param filename

string

delete(filename: str) None[source]
# SCPI: [SOURce<HW>]:BB:DM:CLISt:DELete
driver.source.bb.dm.clist.delete(filename = 'abc')

Deletes the specified list from the default directory (see method RsSmw.MassMemory.currentDirectory) or from the directory specified with the complete file path. Refer to ‘Accessing files in the default or in a specified directory’ for general information on file handling in the default and a specific directory.

Table Header: List type / Command / File extension

  • Data list / …:DLISt… / *.dm_iqd

  • Control list / …:CLISt… / *.dm_iqc

  • User standard / …:ULISt… / *.dm_stu

  • User filter files / …:FLISt… / *.vaf

  • User mapping lists / …:MLISt… / *.vam

param filename

string

get_catalog() List[str][source]
# SCPI: [SOURce<HW>]:BB:DM:CLISt:CATalog
value: List[str] = driver.source.bb.dm.clist.get_catalog()
Reads out the list files present in the default directory (see method RsSmw.MassMemory.currentDirectory) .

Table Header: List type / Command / File extension

  • Data list / …:DLISt… / *.dm_iqd

  • Control list / …:CLISt… / *.dm_iqc

  • User filter files / …:FLISt… / *.vaf

  • User mapping lists / …:MLISt… / *.vam

Refer to ‘Accessing files in the default or in a specified directory’ for general information on file handling in the default and a specific directory.

return

catalog: ‘filename1,filename2,…’ Returns a string of file names separated by commas.

get_free() int[source]
# SCPI: [SOURce<HW>]:BB:DM:CLISt:FREE
value: int = driver.source.bb.dm.clist.get_free()
Queries the list free memory.

Table Header: List type / Command / File extension

  • Data list / …:DLISt… / *.dm_iqd

  • Control list / …:CLISt… / *.dm_iqc

  • User filter files / …:FLISt… / *.vaf

  • User mapping lists / …:MLISt… / *.vam

return

free: integer Range: 0 to INT_MAX

get_points() int[source]
# SCPI: [SOURce<HW>]:BB:DM:CLISt:POINts
value: int = driver.source.bb.dm.clist.get_points()

Queries the number of lines (2 bytes) in the currently selected list.

return

points: integer Range: 0 to INT_MAX

get_select() str[source]
# SCPI: [SOURce<HW>]:BB:DM:CLISt:SELect
value: str = driver.source.bb.dm.clist.get_select()

Selects the specified list file from the default directory (see method RsSmw.MassMemory.currentDirectory) or in the directory specified with the complete file path. If a list with the specified name does not yet exist, it is created. The file extension can be omitted. Refer to ‘Accessing files in the default or in a specified directory’ for general information on file handling in the default and a specific directory.

Table Header: List type / Command / File extension

  • Data list / …:DLISt… / *.dm_iqd

  • Control list / …:CLISt… / *.dm_iqc

  • User standard / …:ULISt… / *.dm_stu

  • User filter files / …:FLISt… / *.vaf

  • User mapping lists / …:MLISt… / *.vam

return

filename: No help available

get_tag() str[source]
# SCPI: [SOURce<HW>]:BB:DM:CLISt:TAG
value: str = driver.source.bb.dm.clist.get_tag()

Queries the content of the specified tag in the selected file.

return

tag: control list,tag name Refer to ‘Tags for waveforms, data and control lists’ for description of the available tag formats.

set_data(data: str) None[source]
# SCPI: [SOURce<HW>]:BB:DM:CLISt:DATA
driver.source.bb.dm.clist.set_data(data = 'abc')

Sends the data to the currently selected control list. If the list already contains data, it is overwritten. This command only writes data into the data section of the file. The values for the control signals are sent, arranged in an 8-bit value as defined in Table ‘Contents of a control lists’. Contents of a control lists

Table Header: Signal / Order / Decimal value of bits

  • Marker 1 Marker 2 Marker 3 / LSB / 1 2 4

  • Burst / LSB / 16

  • LevAtt1 / LSB / 32

  • CWMod / LSB / 64

  • Hop / MSB / 128

The data can also be sent as a binary block, each binary block being a 2-byte value in which the 16 bits represent the binary values (16-bit unsigned integer, 2 bytes, LSB first) . When binary data transmission is in use, use the command SYSTem:COMMunicate:GPIB:LTERminator EOI to set the termination character mode to ‘EOI control data message only’ so that a random LF in the data sequence is not interpreted as End, thereby prematurely terminating the data transmission. The command …LTER STAN resets the mode. According to the specifications, the byte sequence is defined as ‘most significant byte first’. Tip: Control lists are created in binary format. You may however need the control list in an ASCII format, e.g for creating a waveform file with R&S WinIQSIM2. Refer to the examples in ‘Creating control lists with tag file format’ for description on how to create a control list file in ASCII format manually. *RST has no effect on data lists.

param data

string

set_select(filename: str) None[source]
# SCPI: [SOURce<HW>]:BB:DM:CLISt:SELect
driver.source.bb.dm.clist.set_select(filename = 'abc')

Selects the specified list file from the default directory (see method RsSmw.MassMemory.currentDirectory) or in the directory specified with the complete file path. If a list with the specified name does not yet exist, it is created. The file extension can be omitted. Refer to ‘Accessing files in the default or in a specified directory’ for general information on file handling in the default and a specific directory.

Table Header: List type / Command / File extension

  • Data list / …:DLISt… / *.dm_iqd

  • Control list / …:CLISt… / *.dm_iqc

  • User standard / …:ULISt… / *.dm_stu

  • User filter files / …:FLISt… / *.vaf

  • User mapping lists / …:MLISt… / *.vam

param filename

list name