preadu
Overview
initializes the preADU and controls the preADU attenuation.
Python Class & Methods Index
- class pyfabil.plugins.tpm_1_6.preadu.Tpm_1_6_PreAdu(board, **kwargs)[source]
AdcPowerMeter plugin
- disable_channels(channels=None)[source]
Disable channel output :param channels: Input channel to disable (None for all channels)
- enable_channels(channels=None)[source]
Enable channel output :param channels: Input channels to enable (None for all channels)
- get_attenuation()[source]
Returns the current attenuation value. Stored in channel_filters[7:1] with the 2 least significant bits of which forming a fractional component. For example if channel_filters[7:1] == 33 this corresponds to an attenuation of 1000.01 (base 2) or 8.25 (base 10)
- get_passband()[source]
Returns the current passband value. Stored in channel_filters[2:0].
return integer