Using Python Wrapper

Post general discussions on using our drivers to write your own software here
Post Reply
tsassonx
Newbie
Posts: 0
Joined: Mon Aug 12, 2019 11:33 am

Using Python Wrapper

Post by tsassonx » Mon Aug 12, 2019 11:51 am

Hi,
I managed to run tests using the example which comes with the wrapper.
How can I implement the test in my own project? Am I supposed to copy the whole repo as a directory in my repo?
I seem to need the picosdk package known to my python interpreter.

Thank you

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

Re: Using Python Wrapper

Post by NeilH » Tue Aug 13, 2019 7:22 am

Hi

You don't need to download the full repository but you will definitely need the picosdk folder from the repository which contains files that define the link between the API functions from the dll and how they are called within python.

Neil
Neil
Technical Support Engineer

tsassonx
Newbie
Posts: 0
Joined: Mon Aug 12, 2019 11:33 am

Re: Using Python Wrapper

Post by tsassonx » Tue Aug 13, 2019 7:55 am

Thanks!
I got it to work, the setup.py file malfunctions, the try...except there does not identify the library so removing it has made me install successfully.

Post Reply