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
- copy(filename: str) None[source]
# [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]
# [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_catalog() List[str][source]
# [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: ‘filename1,filename2,…’ Returns a string of filenames separated by commas.
- get_free() int[source]
# [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 Range: 0 to INT_MAX
- get_points() int[source]
# [SOURce<HW>]:BB:DM:DLISt:POINts value: int = driver.source.bb.dm.dlist.get_points()
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.
- Returns:
points: integer Range: 0 to INT_MAX
- get_select() str[source]
# [SOURce<HW>]:BB:DM:DLISt:SELect value: str = driver.source.bb.dm.dlist.get_select()
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 extensionData list / …:DLISt… / dm_iqd
Control list / …:CLISt… / dm_iqc
User standard / …:ULISt… / dm_stu
User filter files / …:FLISt… / vaf
User mapping lists / …:MLISt… / vam
- Returns:
select: list name
- get_tag() str[source]
# [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: control list,tag name For a description of the available tag formats, see ‘Tags for waveforms, data and control lists’.
- set_points(points: int) None[source]
# [SOURce<HW>]:BB:DM:DLISt:POINts 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 Range: 0 to INT_MAX
- set_select(select: str) None[source]
# [SOURce<HW>]:BB:DM:DLISt:SELect 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 extensionData 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
Cloning the Group
# Create a copy of the original group, that exists independently
dlist_copy = driver.source.bb.dm.dlist.clone()
Subgroups