Triggered acquisition program for red pitaya