To do that, i use the PicosCope 2206B with python 3.8 and the SDK. From the datasheet  I got the following facts:
- Max. Sampling rate: 500 MS/s (1Ch) | 250 MS/s (2Ch)
- Maximum sampling rate (USB stream): 9,7MS/s (31 MS/s with SDK)
- Buffer Memory for USB Stream mode: 100MS (1Ch) | 50MS (2Ch)
- Vertical resolution: 8 Bit (max. 12 Bit with downsampling)
So, focus on the aim with 1024ns sampling rate will give around just 1MS/s per channel and a data transfer rate via USB of 4MByte/s for both channels. That should be fine for the device and USB.
To test a long time streaming I used a function generator with 10Hz and 50Hz and start streaming by ps2000aStreamingExample.py . I run this function with different sample rates, no downsampling and try to store more than 100MS (50MS per Ch) via USB at disc. For 16ns the maximum usb buffer is reached after 0,8 seconds and for 1024ns after 51,2 seconds.
The results are shown in the following pictures for a sample rate of 16ns and 1024ns. The x-axis is the time in second. After around the maximum buffer memory for USB Stream mode (100MS) somthing get wrong.
Is more clear at FFT. Left picture shows the fft for less that 100MS and the right picture for more than 100MS. After the max of USB memory the sampling rate changed or/and some not nice internal stuff is happened.
Anyway - with that I’m not able to stream over a long period of time. Is that a problem of streaming mode, firmware, dll, ...? Should or could i use Block mode instead? Thanks for help.
There is one more thing. I would also like to use the downsampling (256) in a next step. This would bring addition 4Bits of resolution. 4ns sample rate (safety factor 2) and 256 downsamling. For that I should get only 4MB of USB transfer per second and 10 internal Blocks for 25ms (32MS) to store data. Read one block vis USB, one Block get new data and 8 Blocks buffer for reading. Maybe i have to adapt the block size to reduce the USB overhead.
Is something like that really possible with the SDK?
Even, just 10Bits (8Bits) resolution and 1024ns sampling rate would be fine.
 https://www.picotech.com/download/datas ... eet-de.pdf
 https://github.com/picotech/picosdk-pyt ... Example.py