class.trigger_in - moduleus/urx GitHub Wiki

Trigger In

Parameters

UAC URX Parameter Datatype Description
channel string Name of the input channel.
edge edge Type of edge.

Notes

Trigger_in delays the execution of the acquisition/group/event until the trigger_in signal detects an edge.

If the edge happens before the begining of the acquisition/group/event, it is discarded.

Example 1

In the following example, the first timing diagram shows a group without trigger in. The second timing diagram show the same configuration with trigger in set up on two events.

First the group without trigger in:

group: {
  time_offset : 20,
  period = 110,
  sequence: [
    0 : event { time_offset : 10 },
    1 : event { time_offset : 40 },
    2 : event { time_offset : 70 }
  ]
}

trigger_in.example1

Now, trigger_in are configured for event 0 and 2:

group: {
  time_offset : 20,
  period = 110,
  sequence: [
    0 : event { time_offset : 10, trigger_in : trigger_in { edge = rising } },
    1 : event { time_offset : 40 },
    2 : event { time_offset : 70, trigger_in : trigger_in { edge = rising } }
  ]
}

trigger_in.example2

The trigger_in act as a pause during the execution, it delays the continuation of the acquisition but does not change the subsequent timings. Note: in the previous example the trigger in at t=70 is discarded as there is no event waiting for trigger.

See Also

acquisition | event | group | polarity