I am modifying the acquire_trigger_posedge script from the pitaya C examples.
When I change the value of rp_AcqSetTriggerDelay(0); it does not change anything. If I assume that rp_AcqSetTriggerDelay(0) equals a delay of 8192 samples (as I have seen written many places in this forum) at decimation 65536 a delay of 8192 should delay the end of the sampling by more than 8 seconds. But it does not. There is never a delay after my trigger. I just get the buffer values right away, and only the very beginning of my pulse is visible in the end of the data.
The documentation says:
But I can set it as high as I want without getting error messages when compiling.@param decimated_data_num Number of decimated data. It must not be higher than the ADC buffer size."
When I printf rp_AcqGetTriggerDelay(tptr); it returns 0, no matter how i change the input of rp_AcqSetTriggerDelay().
Does anyone have experience with this?