FastinoChannelΒΆ

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.FastinoChannel

Example Component Dictionary

   {
    "dac_example": {
        "classname": "atomiq.components.sinara.dac.FastinoChannel",
        "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.FastinoChannel(dac_device, channel, *args, **kwargs)[source]

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 (artiq.compiler.types.TMono('float', OrderedDict())) -- ramp duration [s]

  • voltage_start (artiq.compiler.types.TMono('float', OrderedDict())) -- initial voltage [V]

  • voltage_end (artiq.compiler.types.TMono('float', OrderedDict())) -- end voltage [V]

  • ramp_timestep (artiq.compiler.types.TMono('float', OrderedDict()))

  • ramp_steps (artiq.compiler.types.TMono('int', OrderedDict([('width', artiq.compiler.types.TValue(32))])))

set_voltage(voltage)

Set the voltage delivered by the voltage source

Parameters:

voltage (artiq.compiler.types.TMono('float', OrderedDict())) -- Voltage in V