Dlist#
SCPI Commands :
- [SOURce<HW>]:BB:DM:DLISt:CATalog
- [SOURce<HW>]:BB:DM:DLISt:COPY
- [SOURce<HW>]:BB:DM:DLISt:DELete
- [SOURce<HW>]:BB:DM:DLISt:FREE
- [SOURce<HW>]:BB:DM:DLISt:POINts
- [SOURce<HW>]:BB:DM:DLISt:SELect
- [SOURce<HW>]:BB:DM:DLISt:TAG
- Commands in total: 9Subgroups: 1Direct child commands: 7
- get_catalog ( ) List[str]
# [SOURce<HW>]:BB:DM:DLISt:CATalog value: List[str] = driver.source.bb.dm.dlist.get_catalog()Reads out the list of files present in the default directory. 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
See also ‘Handling files in the default or in a specified directory’.
- Returns:
catalog: Returns a string of filenames separated by commas.
- copy ( filename: str ) None
# [SOURce<HW>]:BB:DM:DLISt:COPY driver.source.bb.dm.dlist.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 also ‘Handling files in the default or in a specified directory’.
- Parameters:
filename – string
- delete ( filename: str ) None
# [SOURce<HW>]:BB:DM:DLISt:DELete driver.source.bb.dm.dlist.delete(filename = 'abc')Deletes the specified list from the default directory or from the directory specified with the complete file path. See also ‘Handling files in the default or in a specified directory’. 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
- Parameters:
filename – string
- get_free ( ) int
# [SOURce<HW>]:BB:DM:DLISt:FREE value: int = driver.source.bb.dm.dlist.get_free()Queries the list free memory. 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
- Returns:
free: integer
- get_points ( ) int
- set_points ( points: int ) None
# [SOURce<HW>]:BB:DM:DLISt:POINts # get: value: int = driver.source.bb.dm.dlist.get_points() # set: driver.source.bb.dm.dlist.set_points(points = 1)
Defines the number of bits in the selected data list to be utilized. When a list is being filled with block data, this data is only ever sent in multiples of 8 bits. However the exact number of bits to be exploited can be set to a different figure. The superfluous bits in the list are then ignored.
- Parameters:
points – integer
- get_select ( ) str
- set_select ( select: str ) None
# [SOURce<HW>]:BB:DM:DLISt:SELect # get: value: str = driver.source.bb.dm.dlist.get_select() # set: driver.source.bb.dm.dlist.set_select(select = 'abc')
Selects the specified list file from the default directory or in the directory specified with the complete file path. See also method
RsSmw.massMemory.current_directory(). If a list with the specified name does not yet exist, it is created. The file extension can be omitted. See also ‘Handling files in the default or in a specified directory’. 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- Parameters:
select – list name
- get_tag ( ) str
# [SOURce<HW>]:BB:DM:DLISt:TAG value: str = driver.source.bb.dm.dlist.get_tag()Queries the content of the specified tag in the selected file.
- Returns:
tag: For a description of the available tag formats, see ‘Tags for waveforms, data and control lists’.
Cloning the Group
# Create a copy of the original group, that exists independently
dlist_copy = driver.source.bb.dm.dlist.clone()
Subgroups