dwfpy.digital_input.DigitalInputChannelTrigger

class DigitalInputChannelTrigger(channel)[source]

Bases: object

Represents the trigger unit of a Digital Input channel.

Methods

Attributes

falling_edge

Gets or sets the edge-fall trigger for this channel.

high_level

Gets or sets the high-level trigger for this channel.

low_level

Gets or sets the low-level trigger for this channel.

rising_edge

Gets or sets the edge-rise trigger for this channel.

supports_falling_edge

Returns True if the trigger detector supports a edge-fall trigger for this channel.

supports_high_level

Returns True if the trigger detector supports a high-level trigger for this channel.

supports_low_level

Returns True if the trigger detector supports a low-level trigger for this channel.

supports_rising_edge

Returns True if the trigger detector supports a edge-rise trigger for this channel.

property falling_edge: bool

Gets or sets the edge-fall trigger for this channel.

Return type

bool

property high_level: bool

Gets or sets the high-level trigger for this channel.

Return type

bool

property low_level: bool

Gets or sets the low-level trigger for this channel.

Return type

bool

property rising_edge: bool

Gets or sets the edge-rise trigger for this channel.

Return type

bool

property supports_falling_edge: bool

Returns True if the trigger detector supports a edge-fall trigger for this channel.

Return type

bool

property supports_high_level: bool

Returns True if the trigger detector supports a high-level trigger for this channel.

Return type

bool

property supports_low_level: bool

Returns True if the trigger detector supports a low-level trigger for this channel.

Return type

bool

property supports_rising_edge: bool

Returns True if the trigger detector supports a edge-rise trigger for this channel.

Return type

bool