Test and Measurement Forum

PicoScope3204 Example Error with VEE 7.5

Post general discussions on using our drivers to write your own software here

PicoScope3204 Example Error with VEE 7.5

Postby JL » Wed May 20, 2009 8:34 am

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
JL
User
User
 
Posts: 2
Joined: Wed May 20, 2009 8:13 am

Postby Robin » Wed May 20, 2009 1:36 pm

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
Zen Master
Zen Master
 
Posts: 558
Joined: Fri Sep 19, 2008 10:17 am

Postby Robin » Tue May 26, 2009 11:07 am

Here is a corrected version...
Attachments
ps3000.zip
(8.96 KiB) Downloaded 176 times
Robin
Zen Master
Zen Master
 
Posts: 558
Joined: Fri Sep 19, 2008 10:17 am

Postby JL » Wed May 27, 2009 3:09 pm

Thank you very much Robin.

Works fine.

Regards

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


Return to General Software Discussions

Who is online

Users browsing this forum: No registered users and 0 guests