dwfpy.digital_input.DigitalInputChannel
- class DigitalInputChannel(module, channel)[source]
Bases:
objectRepresents a Digital Input channel.
Methods
Sets up the trigger reset condition for this channel.
Sets up the trigger condition for this channel.
Attributes
Gets the device.
Gets the channel index.
Gets or sets the channel label.
Gets the Digital Input module.
Gets the trigger unit.
- property index: int
Gets the channel index.
- Return type
int
- property label: str
Gets or sets the channel label.
- Return type
str
- property module: DigitalInput
Gets the Digital Input module.
- Return type
- setup_reset_trigger(condition)[source]
Sets up the trigger reset condition for this channel.
- conditionstr
The trigger condition. Can be ‘ignore’, ‘low’, ‘high’, ‘rise’, ‘fall’, or ‘edge’.
- Return type
None
- setup_trigger(condition)[source]
Sets up the trigger condition for this channel.
- conditionstr
The trigger condition. Can be ‘ignore’, ‘low’, ‘high’, ‘rise’, ‘fall’, or ‘edge’.
- Return type
None
- property trigger: DigitalInputChannelTrigger
Gets the trigger unit.
- Return type