TC-08 Ubuntu 20.04 Issues setting up - Solved - Missing driver in device.py

Post your Linux discussions here
Post Reply
Caltin
Newbie
Posts: 0
Joined: Fri Sep 03, 2021 10:47 am

TC-08 Ubuntu 20.04 Issues setting up - Solved - Missing driver in device.py

Post by Caltin »

I'm trying to setup TC-08 on my linux device for continuous logging purposes.

While I can connect it to PicoLog application I cannot get it to work in Python. I found couple of Issues and I'm all out of ideas for troubleshooting.
While setting up Python wrappers from (https://github.com/picotech/picosdk-python-wrappers) I get following errors when trying to do line

Code: Select all

$ sudo apt-get install libusbtc08
. This doesn't work, unless I do I change it to

Code: Select all

sudo apt-get install libusbtc08-1
.

The next error I get is while running

Code: Select all

swig -python usbtc08.i
which returns error:
Error: Unable to find '/opt/picoscope/include/libusbtc08-1.8/usbtc08.h'
.

The folder /opt/picoscope/include has no directory there named usbtc08 or anything like at all.


Is it safe to assume that Drivers are not installed correctly?
Is there a step-by-step installation process for setting everything up in one place? I couldn't find it. How would I go about resolving this issues?

P.S I'm fairly new to linux and Pico instruments, please treat me like I don't know what I'm doing.

Any help is appreciated!
Thanks in advance.
Last edited by Caltin on Tue Sep 07, 2021 10:14 am, edited 1 time in total.

Caltin
Newbie
Posts: 0
Joined: Fri Sep 03, 2021 10:47 am

Re: TC-08 Ubuntu 20.04 Issues setting up

Post by Caltin »

Additional info:

Using 64bit python and linux.
lsusb command gives:
Bus 003 Device 004: ID 0ce9:1000 Pico Technology

Running the following code: gives

Code: Select all

from picosdk.discover import find_all_units

scopes = find_all_units()

for scope in scopes:
    print(scope.info)
    scope.close()
gives back
DeviceNotFoundError: Could not find any devices on any drivers.
In device.py file I've found there is not usbtc08 driver in drivers list. After adding it to the list, as "usbtc08", and running the installation process again I've been able to get it to work.

seppelt
Newbie
Posts: 0
Joined: Wed Nov 17, 2021 12:51 pm

Re: TC-08 Ubuntu 20.04 Issues setting up - Solved - Missing driver in device.py

Post by seppelt »

Hi! I am also running into problems with my Pico TC-08 on my Ubuntu 20.04 machine. Could you elaborate how you fixed yours?

Also, I assume you are using a python interface similar to this https://github.com/bankrasrg/usbtc08, are you? If not, could you kindy guide me to the one you are using?

Post Reply