luigifab / python-radexreader

Reader for the RADEX RD1212 and the RADEX ONE Geiger counters.
GNU General Public License v2.0
11 stars 3 forks source link

RADEX One Serial Not found #14

Open mlewis3141 opened 1 year ago

mlewis3141 commented 1 year ago

Hello

I was trying to use this tool to read data from the Radex one on Ubuntu 18.04. When I run the code I get the following

image

I ran the lsusb command and the Radex device is the device 10. I looked briefly at the code, and it looks like it is looking for the abba:a011 device. I am not a computer programmer, but am only looking to get this working.

Let me know if you have any suggestions.

Thanks

luigifab commented 1 year ago

Can you try this version (you must replace the file). Since 1.2.1 I made some changes.

luigifab commented 1 year ago

Perhaps fixed in v1.2.2.

mlewis3141 commented 1 year ago

Hello

I tried that, but did not work for me.

Thanks Monte

mlewis3141 commented 1 year ago

Hello

I saw you released the new version, which I will try.

Thanks Monte

luigifab commented 1 year ago

Today, I have an idea!

Based on your screenshot, my program detect your abba:a011 device, but crash after. I think this is because your device name seems to be empty, and the program search RADEX.

Can you try to create the following file a.py with:

# https://stackoverflow.com/a/25112066/2980105
import serial.tools.list_ports
ports = list(serial.tools.list_ports.comports())
for p in ports:
  print(p)

Then run python3 a.py to see results.