Hi @Mahito In your code you are generating 1kHz sine. With the run length set to 2ms it will generate trigger signal at this rate and repeat indefinitely (0). With the scope you are capturing 40 samples at 10kHz, 4 sine periods. The scope triggers on analogout/wavegen-1. The trigger type (level, condition...) is only relevant if you set the trigger source to detector-analogin. The default trigger position is 0sec, at the middle of the capture. If you want the trigger to be at the