Hi Attila,
I tested, and found that even I put the wait before different commands (Start, Read, Write, Stop), there is still a long delay. I found the delay is typically ~5-6ms. I attached my code and recorded waveforms.
I'm wondering if there is any method that we can use to reduce the delay? For example, after a stop command, I want the next start() happens within 100us. Is this possible using the script? Or I have to go with python script?