Please help me with this issue,
I am trying to use function "ps2000_overview_buffer_status"
and the return value is always 1
While the documentation states that 1 means "failed due to an invalid handle"
ps2000_overview_buffer_status
Returns
0: if the function was successful.
1: if the function failed due to an invalid handle.
Everything is working normally, but why the return value is 1?
It looks as though there is an error in the Programmer's Guide which I will report - 0 indicates an error, and 1 indicates that the function executed successfully.
The PS2000Imports.cs and example file have been updated to use this function - you can obtain these from our GitHub repository.
I am yet another who has now been caught out by the inverted return logic of the ps2000_overview_buffer_status function, or rather by its documentation. Can I point out that the 2000 series programmer's guide, that I downloaded last week as part of the 64-bit SDK, is still in error. It was only when coming here to report the problem that I found the posts in this thread.