Question about function ps2000_run_streaming_ns parameters

Post general discussions on using our drivers to write your own software here
Post Reply
Ben321
User
User
Posts: 5
Joined: Tue May 23, 2017 8:09 am

Question about function ps2000_run_streaming_ns parameters

Post by Ben321 » Wed Jan 23, 2019 5:03 am

What's the difference between the overview_buffer_size and max_samples parameters? In the programmer's guide https://www.picotech.com/download/manua ... -guide.pdf they are both described as software buffers (which differs from the scope's own internal hardware buffer) as allocated by the driver for the scope. So do I need to make sure that these number match exactly, when writing my program? Does one take precedence over the other?

Martyn
Site Admin
Site Admin
Posts: 3713
Joined: Fri Jun 10, 2011 8:15 am
Location: St. Neots

Re: Question about function ps2000_run_streaming_ns parameters

Post by Martyn » Mon Jan 28, 2019 10:47 am

overview_buffer_size is the size of the buffer that is used continuously to pass data from the driver to your application whilst the streaming is still running.
max_samples defines the size of the buffer that will be held by the driver and can be retrieved after the collection has been stopped, but before the collection is restarted or scope closed.
Martyn
Technical Support Manager

Post Reply