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 »

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

Re: SDK 5000A Win32 Errors

Post by Hitesh »

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

Regards,

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

Re: SDK 5000A Win32 Errors

Post by gflewell »

Hi,

This solved the problem. It compiles without error now.

Thank you for your help.

Hitesh

Re: SDK 5000A Win32 Errors

Post by Hitesh »

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,

Post Reply