The following example illustrates how you can obtain an instance of this type:
from zaber_motion.ascii import Connection
connection = Connection.open_serial_port('COM3')
device = connection.get_device(1)
triggers = device.triggerstriggers.get_enabled_states()List[TriggerEnabledState] Whether triggers are enabled and the number of times they will fire.triggers.get_trigger(trigger_number)| Name | Type | Description |
|---|---|---|
| trigger_number | int | The number of the trigger to control. Trigger numbers start at 1. |
Trigger Trigger instance.triggers.get_trigger_states()List[TriggerState] Complete state for every trigger.