SDK 5000A Win32 Errors

Post your C and C++ discussions here
Post Reply
gflewell
Newbie
Posts: 0
Joined: Mon Aug 12, 2013 6:06 pm

SDK 5000A Win32 Errors

Post by 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.

Hitesh
Site Admin
Site Admin
Posts: 2845
Joined: Tue May 31, 2011 3:43 pm
Location: St. Neots, Cambridgeshire

Re: SDK 5000A Win32 Errors

Post by 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 185 times
Please let me know if this succeeds or not.

Regards,
Hitesh

Technical Support Engineer

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

Re: SDK 5000A Win32 Errors

Post by gflewell » Tue Aug 13, 2013 10:26 am

Hi,

This solved the problem. It compiles without error now.

Thank you for your help.

Hitesh
Site Admin
Site Admin
Posts: 2845
Joined: Tue May 31, 2011 3:43 pm
Location: St. Neots, Cambridgeshire

Re: SDK 5000A Win32 Errors

Post by 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 Support Engineer

Post Reply