Trigger Status

Trigger status is what state the trigger mechanism for a given waveform is in.

query_trigger_status.py
 from lager import Net, NetType, TriggerStatus

 sck = Net.get('I2C.SCK',
         type=NetType.Analog,
         setup_function=setup_nets,
         teardown_function=teardown_nets)

 status = sck.trigger_settings.get_status()
 print(status)

STOPPED

No new waveform will be traced until the trigger leaves this state.

WAITING

The trigger is active and waiting to trigger on the specified condition(s).

TRIGGERING

The condition(s) have been met for a trigger to take place and data is currently being captured.

AUTO_TRIGGERING

Data is constantly being captured.

TRIGGERED

A waveform trigger has just completed.