nanotune.drivers.dac_channel_server
- class nanotune.drivers.dac_channel_server.DACChannelServer(parent, name, channel_id)[source]
Bases:
DACChannelInterfaceChannel class for DAC server.
Implements all methods of DACChannelInterface, which sends string messages to a server to set or get parameters.
- supports_hardware_ramp() bool[source]
Should indicate whether the channel’s voltage can be ramped by using a hardware ramp.
- set_voltage_limit(new_limits: Tuple[float, float]) None[source]
Sets the safe min and max voltages of the channel.
- get_frequency() float[source]
Gets the channel’s frequency if the DAC supports AWG functionalities.
- set_frequency(value) None[source]
Sets the channel’s frequency if the DAC supports AWG functionalities.
- get_offset() float[source]
Gets the channel’s waveform offset if the DAC supports AWG functionalities.
- set_offset(new_offset) None[source]
Sets the channel’s waveform offset if the DAC supports AWG functionalities.
- get_amplitude() float[source]
Gets the channel’s waveform amplitude if the DAC supports AWG functionalities.
- set_amplitude(new_amplitude) None[source]
Sets the channel’s waveform amplitude if the DAC supports AWG functionalities.
- get_relay_state() RelayState[source]
Gets’s the channel’s relay state. E.g. float, or grounded.
- set_relay_state(new_state: RelayState)[source]
Sets’s the channel’s relay state. E.g. float, or grounded.