Thanks again Martyn! I'm making progress. I found out why I got an exception in Delphi and Python after calling RunStreaming (which returned OK). It was because I had the third from the last parameter (downSampleRatio) set to zero instead of one. I've also made a little progress on the callback (but things still don't work). Here is my latest code: http://ctrlpascal.com/ps5000acon4.zip
I did get streaming working with Delphi. I'll spend a bit more time trying to get it working in Python, but if you (or anyone) has any suggestions I'd appreciate them. I hope I can post an improved Python example in the next day or two.