I have been working on handling input events using ARTIQ, by attempting to
place a pulse event into the buffer / timeline for execution upon receiving an
input event. I have been following the examples from the manual here
<https://m-labs.hk/artiq/manual-release-2/rtio.html#input-channels-and-events>,
but I am wondering if there is a way to do even faster handling for input
events. In the given examples it is safest to place a delay to ensure that gate
closing event has occurred, but is there a way to instead let the gate close
while executing a pulse on another TTL line at the same time?
I am wondering what the best way is to place an event into the timeline as soon
as possible after detecting an input event. For instance, I would like to run a
pulse on, say, TTL1 immediately after receiving a single rising edge on PMT0.
For context, I am trying to complete this method
<https://github.com/vontell/artiq-control/blob/master/samples/repository/rle/pipistrello.py#L107-L130>
which would run a kernel / place commands into the timeline upon seeing that
the count of PMT0 is greater that 0. I am not entirely sure on how to implement
this functionality, as I commonly run into RTIOUnderflow errors.
Aaron Vontell
_______________________________________________
ARTIQ mailing list
https://ssl.serverraum.org/lists/listinfo/artiq