Gissio / geigerlog-radpro

GNU General Public License v3.0
8 stars 3 forks source link

Error treatment failure #1

Open Wallcutter opened 6 months ago

Wallcutter commented 6 months ago

When i connect my Fnirsi GC-01 with Radpro 2.0rc3 Firmware to my PC (Win10) it shows up as a USB Serial Device with a generic Windows driver and the generic 9600 baud rate. The geigerlog-radpro program crashes when i click on conncect whether it is connected or not. If I set the RadProPort in the geigerlog.cfg file to the right port, the program does not crash but gives the error: Failure connecting with Device: 'Rad Pro' for reason: "A Rad Pro device was not detected."

Do I have to enable or disable something in the firmware? Alternatively does anyone know the Serial connection settings for this device? Data logging is turned on on the Device.

Gissio commented 6 months ago

First, you must first turn on your GC-01, and then connect it to your computer.

Second, if your GC-01 has a CH32 processor, you need to enter and stay in "Data mode" for the connection to work; if it has an APM32, the connection works at all times.

If this didn't fix the problem, could you open a terminal (cmd.exe), go to the geigerlog-radpro-1.4.3c-windows\dist folder, from there, start geigerlog.exe as follows:

geigerlog.exe -v

, copy+paste the output to a file (in notepad, for example), and post the file here?

Wallcutter commented 6 months ago

DEBUG_log.txt The GC-01 has a APM32.

Wallcutter commented 6 months ago

I managed to connect it. I had to set the right port in the config file (I must have misstyped it previously). "auto" still crashes though.

Wallcutter commented 6 months ago

DEBUG_log_2.txt This is the logfile when it hangs.

Gissio commented 6 months ago

I'm glad you were able to connect.

Also, thanks for the logs.

The issue is an error treatment problem in the compiled .exe file. If you run install Python and run GeigerLog from there, everything works.

BTW, there's also an issue if you attempt to download datalogs. I'm working on it.

ugopapetti commented 4 days ago

Got same issue as Wallcutter, Geigerlog hung trying to connect Fnirsi GC-01. As already stated by Wallcutter, solved by setting in geigerlog configuration the real com port instead of the "auto" parameter in the "connection" section: RadProPort = auto (ORIGINAL VALUE) RadProPort = COM6 (com for my installation).

Thanks Gissio for the brilliant work!