Thank you very much for your reply!
I thought my experiment was too long, so didn’t post a demo link. I have made a simplified version of it: https://farm.pcibex.net/r/MSSnpS/
Could you please let me know how I could make the synchronous UploadRecordings? I’ve been searching the tutorial and the forum but haven’t found an example… could you please direct me to relevant resources or kindly teach me how to change the codes?