herosdevices.hardware.generic.dac ================================= .. py:module:: herosdevices.hardware.generic.dac .. autoapi-nested-parse:: Generic DAC drivers. Module Contents --------------- .. py:class:: DACChannel(dac_device: herosdevices.interfaces.atomiq.DAC | heros.RemoteHERO, channel: int, min_voltage: float | None = None, max_voltage: float | None = None) Bases: :py:obj:`herosdevices.interfaces.atomiq.DACChannel` A generic DAC channel that can be connected to a multi channel DAC that implements the atomiq DAC interface. :param dac_device: the DAC the channel belongs to :param channel: the number of the channel .. py:attribute:: dac_device .. py:attribute:: channel .. py:method:: set_voltage(voltage: float, update_dac: bool = True) -> None Set the voltage for this DAC channel. .. py:attribute:: min_voltage :type: float .. py:attribute:: max_voltage :type: float .. py:attribute:: default_ramp_steps :type: int :value: 30 .. py:attribute:: blind :type: bool :value: False .. py:method:: set_parameter(value: float, channel: str | None = None) -> None Set parameter with given name to given value.