maximus-ms wrote:When PicosCope run it takes until 50% of CPU time.
maximus-ms wrote:In result about some 10's of thousands samples is less then -32767 (losted samples) for 10 seconds.
How to fix the problem?
Have you tried reducing the sleep time?
Try calling the ps2000_overview_buffer_status() function after every call to ps2000_get_streaming_last_values() and see if it returns a non-zero value - this will indicate a buffer overrun.
short previous_buffer_overrun = 0;
ps2000_overview_buffer_status ( handle_ps, &previous_buffer_overrun);
What version of the ps2000.dll are you using?
When PicosCope run it takes until 50% of CPU time.
The high CPU usage of the PS2000 driver seems to be the real reason why it is so hard to acquire data continuously with a PS2000 scope.
Users browsing this forum: No registered users and 1 guest