Understood - normally once you have called the ps5000aRunBlock() function, you either wait for the callback function to return and indicate that the device has collected some data or you poll the device by calling ps5000aIsReady.

It should not be necessary to insert a sleep before polling the ps5000aIsReady call - which version of the ps5000a dll are you using?