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


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

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

the 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!

Advanced User
Advanced User
Posts: 2856
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.


Software Dev. Engineer

Post Reply