SUServoADCChannelΒΆ
Class Arguments
Argument |
Type |
Default Value |
---|---|---|
suservo |
SUServo |
|
channel |
TInt32 |
|
default_gain |
TInt32 |
0 |
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
Example Component Dictionary
{
"suservo_example": {
"classname": "atomiq.components.sinara.suservo.SUServoADCChannel",
"arguments": {
"suservo": "<mandatory parameter (SUServo)>",
"channel": "<mandatory parameter (TInt32)>",
"default_gain": 0
}
}
}
Class Description
- class atomiq.components.sinara.suservo.SUServoADCChannel(suservo, default_gain=0, *args, **kwargs)[source]
Bases:
ADCChannel
Analog Input of a Sampler in an SUServo configuration
ATTENTION: When default_gain is !=1 is given, this might cause problems in closed loop mode. It seems SUServo internally uses gain=1. Maybe it can be set differntly but I don't see how.
- Parameters:
suservo (SUServo) -- The SUServo component that this channel belongs to
default_gain (TInt32) -- The default gain in machine units (0: 1, ..., 3: 1000) to set for this channel on startup
A single channel of a (possibly multichannel) ADC
- Parameters:
adc_device -- The ADC the channel belongs to
channel -- The number of the channel
suservo (SUServo)
default_gain (TInt32)
- set_gain(gain=0)[source]
Set the gain for the ADC channel in SUServo configuration
- Parameters:
gain (artiq.compiler.types.TMono('int', OrderedDict({'width': artiq.compiler.types.TValue(32)}))) -- Gain in machine units (0: 1, ..., 3: 1000)