herosdevices.hardware.generic.dac

Generic DAC drivers.

Module Contents

class herosdevices.hardware.generic.dac.DACChannel(dac_device: herosdevices.interfaces.atomiq.DAC | heros.RemoteHERO, channel: int, min_voltage: float | None = None, max_voltage: float | None = None)[source]

Bases: herosdevices.interfaces.atomiq.DACChannel

A generic DAC channel that can be connected to a multi channel DAC that implements the atomiq DAC interface.

Parameters:
  • dac_device – the DAC the channel belongs to

  • channel – the number of the channel

dac_device
channel
set_voltage(voltage: float, update_dac: bool = True) → None[source]

Set the voltage for this DAC channel.

min_voltage: float
max_voltage: float
default_ramp_steps: int = 30
blind: bool = False
set_parameter(value: float, channel: str | None = None) → None

Set parameter with given name to given value.