ZotinoChannel#

Class Arguments

Argument

Type

Default Value

dac_device

DAC

channel

TInt32

min_voltage

TFloat

-inf

max_voltage

TFloat

inf

default_ramp_steps

TInt32

30

Bold arguments are mandatory. For more documentation on the listed arguments refer to the class definition below. If parameters appear in this list but not in the class definition below, please recursively check the linked base classes for the definition of the parameter.

Inheritance Diagram

Inheritance diagram of atomiq.components.sinara.dac.ZotinoChannel

Example Component Dictionary

   {
    "dac_example": {
        "classname": "atomiq.components.sinara.dac.ZotinoChannel",
        "arguments": {
            "dac_device": "<mandatory parameter (DAC)>",
            "channel": "<mandatory parameter (TInt32)>",
            "min_voltage": -1e999,
            "max_voltage": 1e999,
            "default_ramp_steps": 30
        }
    }
}

Class Description

class atomiq.components.sinara.dac.ZotinoChannel(dac_device, channel, *args, **kwargs)

Bases: DACChannel

A single channel of a (possibly multichannel) DAC

A single channel of a DAC is a digitally controlled voltage source. Thus, this class inherits from VoltageSource.

Parameters:
  • dac_device (DAC) -- the DAC the channel belongs to

  • channel (TInt32) -- the number of the channel

ramp_voltage(duration, voltage_start, voltage_end, ramp_timestep=- 1.0, ramp_steps=- 1)

Ramp voltage over a given duration.

This method advances the timeline by duration

Parameters:
  • duration (TFloat) -- ramp duration [s]

  • voltage_start (TFloat) -- initial voltage [V]

  • voltage_end (TFloat) -- end voltage [V]

  • ramp_timestep (TFloat) --

  • ramp_steps (TInt32) --

set_voltage(voltage)

Set the voltage delivered by the voltage source

Parameters:

voltage (TFloat) -- Voltage in V