Test and Measurement Forum

EXCEL Example - Run-Time ERROR 48 ps4000Wrap.dll

Post your VB and VBA discussions here

EXCEL Example - Run-Time ERROR 48 ps4000Wrap.dll

Postby MRieser » Wed Feb 10, 2016 8:07 am

Hello,

I´m using a 4424 oscilloscope with a Windows 7 64Bit based PC.

I installed PicoScope 6.10.18.1052 an It runs well.

Then I tried to use the SDK (PicoSDK_64_10.6.10.22) running the EXCEL example, I followed the instructions regarding the DLL files.

And I got an error message: Run-Time Error '48': File not found: ps4000Wrap.dll

I even change the code putting the complete path to this file but I still have the same error!

The latest Visual C++ 2010 Redistributable (x64 depending on your system) installed on my PC.

I´m using Excel 2010.

Any ideas?

Thank you!
MRieser
Newbie
 
Posts: 0
Joined: Mon Nov 11, 2013 2:44 pm

Re: EXCEL Example - Run-Time ERROR 48 ps4000Wrap.dll

Postby Hitesh » Wed Feb 10, 2016 4:11 pm

Hi MRieser,

If you are using a 32-bit version of Microsoft Excel (verify this from via the File menu) then you will need to use the 32-bit SDK installer which will provide 32-bit ps4000, picoipp and ps4000Wrap dll files.

You will also require the Visual C++ 2010 Redistributable x86 version if that is the case, although this should be installed by the 32-bit SDK installer.

Have you tried copying the ps4000Wrap.dll file to the C:\Windows\System32 folder if it is a 64-bit version of Excel?

Regards,
Hitesh

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

Re: EXCEL Example - Run-Time ERROR 48 ps4000Wrap.dll

Postby MRieser » Thu Feb 18, 2016 2:05 pm

Hi Hitesh

I have 32bit Excel in 64bit Windows 7.
Installing 32bit SKD helped, thanks.

Regards
MRieser
Newbie
 
Posts: 0
Joined: Mon Nov 11, 2013 2:44 pm

Re: EXCEL Example - Run-Time ERROR 48 ps4000Wrap.dll

Postby Hitesh » Thu Feb 18, 2016 4:20 pm

Hi MRieser,

Good to hear that is now working :)

Regards,
Hitesh

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


Return to VB and VBA (Excel, Access)

Who is online

Users browsing this forum: No registered users and 0 guests