Gissio / radpro

Custom firmware for Geiger counters/radiation meters (FS2011, Bosean FS-600, FS-1000, FS-5000, FNIRSI GC-01)
MIT License
154 stars 20 forks source link

FNIRSI GC-01: Datalog download error #29

Closed destrudos closed 4 months ago

destrudos commented 5 months ago

Thank you for the great work with radpro! However I suffer from issue with downloading data from fnirsi (both datalog, and in real time)

python tools/radpro-tool.py -p COM3 --no-sync-time --download-datalog moj-datalog.csv Downloading offline data...

Gives no error but moj-datalog.csv is empty, only the:

time,tubePulseCount are present, also: python tools/radpro-tool.py -p "COM3" --log-rng odczyty.csv Gives empty file. Of course logging option is enabled in the device. Also sometimes, I encounter other strange behavior, for example: python tools/radpro-tool.py -p COM3 --get-device-id Error while setting device time. Error while getting property "deviceId". (base) PS E:\PROGRAMMING\radpro> python tools/radpro-tool.py -p COM3 --no-sync-time --download-datalog moj-datalog.csv Downloading offline data... Error while downloading data log. What is the reason of this?

Gissio commented 5 months ago

Thanks for testing data logging!

If the datalog shows as empty, could it be that there hasn't been anything logged yet?

Try the following command:

pyserial-miniterm

And connect to the GC-01's serial port.

Press enter. You should receive an ERROR response.

Try the commands listed here: https://github.com/Gissio/radpro/blob/main/docs/comm.md. In particular, the GET datalog. Make sure that upper and lowercase are correct.

Let me know.

Gissio commented 5 months ago

I have been able to replicate the error! Thanks for the report.

Gissio commented 5 months ago

I've just released ~rc1 (release candidate 1)~ rc2 (release candidate 2). Can you check if it works now?

I've also added compatibility with GeigerLog. Check this out: https://github.com/Gissio/geigerlog-radpro

Gissio commented 4 months ago

Closed as it seems to be working now.