Dsrc
SCPI Commands :
DSRC:CATalog
DSRC:CLEar
DSRC:COMMent
DSRC:CREate
DSRC:NAME
DSRC:REMove
DSRC:SELect
- class DsrcCls[source]
Dsrc commands group definition. 17 total commands, 1 Subgroups, 7 group commands
- clear() None [source]
# SCPI: DSRC:CLEar driver.dsrc.clear()
Deletes all items from the list or the table.
- clear_with_opc(opc_timeout_ms: int = -1) None [source]
# SCPI: DSRC:CLEar driver.dsrc.clear_with_opc()
Deletes all items from the list or the table.
Same as clear, but waits for the operation to complete before continuing further. Use the RsPulseSeq.utilities.opc_timeout_set() to set the timeout value.
- param opc_timeout_ms:
Maximum time to wait in milliseconds, valid only for this call.
- get_catalog() str [source]
# SCPI: DSRC:CATalog value: str = driver.dsrc.get_catalog()
Queries the available repository elements in the database.
- return:
catalog: string
- get_comment() str [source]
# SCPI: DSRC:COMMent value: str = driver.dsrc.get_comment()
Adds a description to the selected repository element.
- return:
comment: string
- get_name() str [source]
# SCPI: DSRC:NAME value: str = driver.dsrc.get_name()
Renames the selected repository element.
- return:
name: string Must be unique for the particular type of repository elements. May contain empty spaces.
- get_select() str [source]
# SCPI: DSRC:SELect value: str = driver.dsrc.get_select()
Selects the repository element to which the subsequent commands apply.
- return:
select: string Element name, as defined with the …:CREate or …:NAME command. To query the existing elements, use the …:CATalog? command. For example, method RsPulseSeq.Repository.catalog.
- set_comment(comment: str) None [source]
# SCPI: DSRC:COMMent driver.dsrc.set_comment(comment = 'abc')
Adds a description to the selected repository element.
- param comment:
string
- set_create(create: str) None [source]
# SCPI: DSRC:CREate driver.dsrc.set_create(create = 'abc')
Creates a repository element with the selected name.
- param create:
string Must be unique for the particular type of repository elements. May contain empty spaces.
- set_name(name: str) None [source]
# SCPI: DSRC:NAME driver.dsrc.set_name(name = 'abc')
Renames the selected repository element.
- param name:
string Must be unique for the particular type of repository elements. May contain empty spaces.
- set_remove(remove: str) None [source]
# SCPI: DSRC:REMove driver.dsrc.set_remove(remove = 'abc')
Removes the selected element from the workspace. The element must not reference any child elements. Remove the referenced elements first.
- param remove:
No help available
- set_select(select: str) None [source]
# SCPI: DSRC:SELect driver.dsrc.set_select(select = 'abc')
Selects the repository element to which the subsequent commands apply.
- param select:
string Element name, as defined with the …:CREate or …:NAME command. To query the existing elements, use the …:CATalog? command. For example, method RsPulseSeq.Repository.catalog.
Cloning the Group
# Create a clone of the original group, that exists independently
group2 = driver.dsrc.clone()
Subgroups