QSM#
Parameters#
- QSM.present()#
Sets/gets module present status for slot {} in the Cluster.
- Properties:
value: <Boolean>
- QSM.connected()#
Gets module connected status for slot {} in the Cluster.
- Properties:
value: <Boolean>
Methods#
- QSM.clear_rampdown() None#
Clear the error flag to be able to use QSM DACs again after triggering a rampdown.
Note
This method calls Cluster.clear_rampdown using functools.partial
- QSM.get_io_channel_config(channel: int | None = None) dict[str, Any] | list[dict[str, Any]]#
Get IO channel configuration. The configuration consists of multiple parameters in a JSON format.
- Parameters:
channel (Optional[int]) – I/O channel index.
- Returns:
Configuration dictionary.
- Return type:
- Raises:
NotImplementedError – Functionality not available on this module.
Note
This method calls Cluster._get_io_channel_config using functools.partial
- QSM.measure_current(io_channels: int | collections.abc.Iterable[int]) float | list[float]#
Measures the current of the specified IO channel(s).
- QSM.request_rampdown() None#
Resets the output for all QSM channels to zero, but it also sets an error flag in the system and blocks the coarse DAC until such flag is cleared (reset).
Note
This method calls Cluster.request_rampdown using functools.partial
- QSM.reset_io_channel_output(io_channel: int | None = None) None#
Resets the output for a specified QSM channel to zero.
- Parameters:
io_channel (Optional[int]) – Source or measurement channel to manipulate. If None, resets all channels.
- Raises:
Exception – Invalid input parameter type.
Note
This method calls Cluster.reset_io_channel_output using functools.partial
- QSM.set_io_channel_config(*_args, **_kwargs) None#
Set IO channel configuration. The configuration consists of multiple parameters in a JSON format. If the configuration struct does not have the correct format, an error is set in system error.
- Parameters:
- Raises:
NotImplementedError – Functionality not available on this module.
Note
This method calls Cluster._set_io_channel_config using functools.partial