Vitaliy Hello! Is there any possibility to wait until @kernel function ends? I need to call external function only after artiq device ends generating impulse sequence, but in fact it is called immediately after I call @kernel function. Thanks.