Test and Measurement Forum

ps2000_get_timebase

Post your .Net discussions here

ps2000_get_timebase

Postby 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!
borgi
Newbie
 
Posts: 0
Joined: Wed Apr 26, 2017 6:16 am

Re: ps2000_get_timebase

Postby 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
Hitesh
Site Admin
Site Admin
 
Posts: 2429
Joined: Tue May 31, 2011 3:43 pm
Location: St. Neots, Cambridgeshire


Return to .Net Languages (C#, VB.Net, .)

Who is online

Users browsing this forum: No registered users and 0 guests