hvl_ccb.dev.tiepie.channel
- class TiePieOscilloscopeChannelConfig(ch_number: int, channel: libtiepie.oscilloscopechannel.OscilloscopeChannel)[source]
Bases:
PublicPropertiesReprMixinOscilloscope’s channel configuration, with cleaning of values in properties setters as well as setting and reading them on and from the device’s channel.
- static clean_coupling(coupling: str | TiePieOscilloscopeChannelCoupling) TiePieOscilloscopeChannelCoupling[source]
- clean_input_range(input_range: float | TiePieOscilloscopeRange) TiePieOscilloscopeRange[source]
- static clean_trigger_kind(trigger_kind: str | TiePieOscilloscopeTriggerKind) TiePieOscilloscopeTriggerKind[source]
- static clean_trigger_level_mode(level_mode: str | TiePieOscilloscopeTriggerLevelMode) TiePieOscilloscopeTriggerLevelMode[source]
- property coupling: TiePieOscilloscopeChannelCoupling
- property enabled: bool
- property has_safeground: bool
Check whether bound oscilloscope device has “safeground” option
- Returns:
bool: 1=safeground available
- property input_range: TiePieOscilloscopeRange
- property probe_gain: float
The measured value of the channel will be scaled by a gain. This feature is currently not implemented
- property probe_offset: float
The measured value of the channel will be shifted by an offset. This feature is currently not implemented
- property safeground_enabled: bool
safeground
- Returns:
_description_
- property trigger_enabled: bool
- property trigger_hysteresis: float
- property trigger_kind: TiePieOscilloscopeTriggerKind
- property trigger_level: float
- property trigger_level_mode: TiePieOscilloscopeTriggerLevelMode
- class TiePieOscilloscopeChannelConfigLimits(osc_channel: libtiepie.oscilloscopechannel.OscilloscopeChannel)[source]
Bases:
objectDefault limits for oscilloscope channel parameters.
- class TiePieOscilloscopeChannelCoupling(value=<no_arg>, names=None, module=None, qualname=None, type=None, start=1, boundary=None)[source]
Bases:
NameEnumAn enumeration.
- ACA
- ACV
- DCA
- DCV
- class TiePieOscilloscopeRange(value=<no_arg>, names=None, module=None, qualname=None, type=None, start=1, boundary=None)[source]
Bases:
RangeEnumAn enumeration.
- EIGHTY_VOLT = 80.0
- EIGHT_HUNDRED_MILLI_VOLT = 0.8
- EIGHT_VOLT = 8.0
- FORTY_VOLT = 40.0
- FOUR_HUNDRED_MILLI_VOLT = 0.4
- FOUR_VOLT = 4.0
- TWENTY_VOLT = 20.0
- TWO_HUNDRED_MILLI_VOLT = 0.2
- TWO_VOLT = 2.0