ps2000_get_timebase

Post your .Net discussions here
Post Reply
borgi
Newbie
Posts: 0
Joined: Wed Apr 26, 2017 6:16 am

ps2000_get_timebase

Post by borgi » Wed May 03, 2017 7:13 am

Hi
I am trying to integrate the VBA example of PS2000 into vb.net.
For some reason that I still can not find solution ps2000_get_timebase function is not working

the vb.net debugger is giving me the following error:
"A call to PInvoke function 'pico!pico.Form1::ps2000_get_timebase' has unbalanced the stack. This is likely because the managed PInvoke signature does not match the unmanaged target signature. Check that the calling convention and parameters of the PInvoke signature match the target unmanaged signature."

Any help is appreciated.
Thank you!

Hitesh
Site Admin
Site Admin
Posts: 2794
Joined: Tue May 31, 2011 3:43 pm
Location: St. Neots, Cambridgeshire

Re: ps2000_get_timebase

Post by Hitesh » Wed May 03, 2017 9:07 am

Hi borgi,

Please could you try the example from the ps2000 folder in our GitHub repository.

Thanks,
Hitesh

Technical Support Engineer

Post Reply