PicoScope3204 Example Error with VEE 7.5

Post general discussions on using our drivers to write your own software here
Post Reply
JL
User
User
Posts: 2
Joined: Wed May 20, 2009 8:13 am

PicoScope3204 Example Error with VEE 7.5

Post by JL »

Hello,

I´m using VEE7.5 and the Picoscope 3204. I downloaded the latest example with sdk r6.2.2.12 from the pico site. When I start the vee example I get the error "stack pointer corrupted from compiled function ps3000_get_timebase" the previous functions in the example work fine.

Has anybody had similar problems with this example and knows how to deal with that, or any suggestions on changing the header file?

Any help will be appreciated.

Regards,
JL

Robin
Advanced User
Advanced User
Posts: 558
Joined: Fri Sep 19, 2008 10:17 am

Post by Robin »

Hi

You need to change the ps3000_get_timebase prototype in the header to

Code: Select all

short __stdcall ps3000_get_timebase (
									   short handle,
									   short  timebase,
									   long   no_of_samples,
									   long  * time_interval,
									   short * time_units,
									   short	oversample,
                     long * max_samples);
You will also need to change the connections to the ps3000_get_timebase function call.

Robin
Advanced User
Advanced User
Posts: 558
Joined: Fri Sep 19, 2008 10:17 am

Post by Robin »

Here is a corrected version...
Attachments
ps3000.zip
(8.96 KiB) Downloaded 461 times

JL
User
User
Posts: 2
Joined: Wed May 20, 2009 8:13 am

Post by JL »

Thank you very much Robin.

Works fine.

Regards

JL

Post Reply