Python Running examples on a 64bit computer with 32bit SDK

Post general discussions on using our drivers to write your own software here
Post Reply
cbing
Newbie
Posts: 0
Joined: Tue Sep 18, 2018 8:15 pm

Python Running examples on a 64bit computer with 32bit SDK

Post by cbing »

Hi,
I'm new to Picoscope as well as Python and I'm just trying to test some examples with our system. I got some compatibility issues and would like to hear your suggestions.

The system we are running is a 64-bit Windows 7 but we're trying to use 32-bit Enthought Canopy as the compiler. I installed both 32 and 64-bit SDK for picoscope, the model we have is PS5242D. Assuming I setup the environment correctly (install the PyPI and put the picosdk at the same directory) I ran the example "ps5000aRapidBlockExample.py" and got this error:

[Error 193] %1 is not a valid win32 application.

sometimes another error:

PicoSDK(ps5000a) not compatible (check 32 vs 64-bit): [Eorror 193] %1 is not a valid win32 application.

Did I setup everything correctly? Or there's any special issues I need to care for in my situation?

Thanks!

NeilH
PICO STAFF
PICO STAFF
Posts: 265
Joined: Tue Jul 18, 2017 8:28 am

Re: Python Running examples on a 64bit computer with 32bit SDK

Post by NeilH »

Hi

If you are using 32-bit python having the 64-bit SDK can cause issues when running on a 64-bit OS so it would be worth uninstalling the 64-bit SDK and retrying the examples

Neil
Neil
Technical Support Engineer

Post Reply