Search found 4 matches

by tmm
Sat Aug 25, 2018 6:20 pm
Forum: .Net Languages (C#, VB.Net, .)
Topic: PS2000 ps2000_overview_buffer_status return value
Replies: 4
Views: 13246

Re: PS2000 ps2000_overview_buffer_status return value

Thank you for your reply, the code is simple, and you can do it easily. 1- Download the PS2000CSExamples from github. 2- Define ps2000_overview_buffer_status inside imports [DllImport(_DRIVER_FILENAME, CharSet = CharSet.Auto, SetLastError = false)] public unsafe static extern short ps2000_overview_b...
by tmm
Thu Aug 23, 2018 5:50 pm
Forum: .Net Languages (C#, VB.Net, .)
Topic: PS2000 ps2000_overview_buffer_status return value
Replies: 4
Views: 13246

PS2000 ps2000_overview_buffer_status return value

Hi, 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 f...
by tmm
Tue Jun 12, 2018 9:52 am
Forum: PicoScope 6 for Windows
Topic: An unhandled exception of type 'System.BadImageFormatExcepti
Replies: 3
Views: 4221

Re: An unhandled exception of type 'System.BadImageFormatExc

Compiling the project with 32-bit version solved my problem.

Thank you :)
by tmm
Sat Jun 09, 2018 1:05 pm
Forum: PicoScope 6 for Windows
Topic: An unhandled exception of type 'System.BadImageFormatExcepti
Replies: 3
Views: 4221

An unhandled exception of type 'System.BadImageFormatExcepti

Hi, I am trying to run the PicoScope 6 example for windows "PS2000CSExample" However, I am getting an exception at the line of opening unit if ((handle = Imports.OpenUnit()) <= 0) <-- An unhandled exception of type 'System.BadImageFormatException' occurred in PS2000CSConsoleExample.exe Development P...