Device
SCPI Commands :
SYSTem:BASE:DEVice:SUBinst
SYSTem:BASE:DEVice:COUNt
SYSTem:BASE:DEVice:RESet
SYSTem:BASE:DEVice:MSCont
SYSTem:BASE:DEVice:MSCCount
- class DeviceCls[source]
Device commands group definition. 8 total commands, 3 Subgroups, 5 group commands
- class SubinstStruct[source]
Structure for reading output parameters. Fields:
Cur_Sub_Inst: int: Device number of the addressed channel, as indicated in a VISA resource string for HiSLIP and as returned by *DEV?. Mapping: device number 0 = channel 1 = assigned instrument 1
Sub_Inst_Count: int: Total number of channels into which the instrument is split.
- get_count() int [source]
# SCPI: SYSTem:BASE:DEVice:COUNt value: int = driver.system.base.device.get_count()
Splits the instrument into channels or assigns all hardware resources to a single channel. Send this command to the channel with the lowest number (device 0 / channel 1 / assigned instrument 1) . To assign/distribute the available hardware resources to the channels, a reboot is performed automatically after you have changed the number of channels.
- return:
count: Number of channels The allowed subset of values depends on the number of connected RRHs.
- get_msc_count() int [source]
# SCPI: SYSTem:BASE:DEVice:MSCCount value: int = driver.system.base.device.get_msc_count()
Returns the maximum number of channels into which the instrument can be split.
- return:
max_sc_count: The value 0 indicates that no split is possible.
- get_mscont() int [source]
# SCPI: SYSTem:BASE:DEVice:MSCont value: int = driver.system.base.device.get_mscont()
No command help available
- return:
max_si_count: No help available
- get_subinst() SubinstStruct [source]
# SCPI: SYSTem:BASE:DEVice:SUBinst value: SubinstStruct = driver.system.base.device.get_subinst()
Queries the device number of the addressed channel and the total number of existing channels.
- return:
structure: for return value, see the help for SubinstStruct structure arguments.
- reset() None [source]
# SCPI: SYSTem:BASE:DEVice:RESet driver.system.base.device.reset()
No command help available
- reset_with_opc(opc_timeout_ms: int = -1) None [source]
# SCPI: SYSTem:BASE:DEVice:RESet driver.system.base.device.reset_with_opc()
No command help available
Same as reset, but waits for the operation to complete before continuing further. Use the RsCMPX_Base.utilities.opc_timeout_set() to set the timeout value.
- param opc_timeout_ms:
Maximum time to wait in milliseconds, valid only for this call.
- set_count(count: int) None [source]
# SCPI: SYSTem:BASE:DEVice:COUNt driver.system.base.device.set_count(count = 1)
Splits the instrument into channels or assigns all hardware resources to a single channel. Send this command to the channel with the lowest number (device 0 / channel 1 / assigned instrument 1) . To assign/distribute the available hardware resources to the channels, a reboot is performed automatically after you have changed the number of channels.
- param count:
Number of channels The allowed subset of values depends on the number of connected RRHs.
Cloning the Group
# Create a clone of the original group, that exists independently
group2 = driver.system.base.device.clone()
Subgroups