Test and Measurement Forum

SDK 5000A Win32 Errors

Post your C and C++ discussions here

SDK 5000A Win32 Errors

Postby gflewell » Mon Aug 12, 2013 6:13 pm

Hello,

I downloaded the PS5000A SDK 10.5.0.19 and developed some code to capture data from a PicoScope 5444B. I did this development on a 64-bit Windows PC and had very little trouble. I have since moved to a different machine that is Windows 32-bit. I changed the appropriate library files to the 32-bit versions in the SDK, but am unable to compile due to the follwing errors:
C:/cpp/PS5000a/PS5000AScope.cpp:244: undefined reference to `_imp__ps5000aGetTimebase2@24'
C:/cpp/PS5000a/PS5000AScope.cpp:298: undefined reference to `_imp__ps5000aRunBlock@32'

These are the only two functions that it is unable to find. I am using plenty of other functions from within the SDK. Is there something wrong with the .lib or the .dll files that I have? Has anyone seen this?

Thanks.
gflewell
Newbie
 
Posts: 0
Joined: Mon Aug 12, 2013 6:06 pm

Re: SDK 5000A Win32 Errors

Postby Hitesh » Tue Aug 13, 2013 9:01 am

Hi,

Please try the header and lib file in the attached zip file.

ps5000aLib_Header.zip
API header and lib file
(9.64 KiB) Downloaded 121 times


Please let me know if this succeeds or not.

Regards,
Hitesh

Technical Specialist
Pico Technology
Hitesh
Site Admin
Site Admin
 
Posts: 2063
Joined: Tue May 31, 2011 3:43 pm
Location: St. Neots, Cambridgeshire

Re: SDK 5000A Win32 Errors

Postby gflewell » Tue Aug 13, 2013 10:26 am

Hi,

This solved the problem. It compiles without error now.

Thank you for your help.
gflewell
Newbie
 
Posts: 0
Joined: Mon Aug 12, 2013 6:06 pm

Re: SDK 5000A Win32 Errors

Postby Hitesh » Tue Aug 13, 2013 11:39 am

Hi,

Thanks for posting back. I believe this was due to a change in the function parameters to remove an argument that is not required.

Regards,
Hitesh

Technical Specialist
Pico Technology
Hitesh
Site Admin
Site Admin
 
Posts: 2063
Joined: Tue May 31, 2011 3:43 pm
Location: St. Neots, Cambridgeshire


Return to C and C++

Who is online

Users browsing this forum: No registered users and 0 guests