connectiq icon indicating copy to clipboard operation
connectiq copied to clipboard

doesn't work

Open tve opened this issue 6 years ago • 2 comments

If I enter "distance" as formula it works. If I enter "speed/cadence" I just see an "IQ" with an exclamation mark. Are there error messages anywhere? Device is an Edge 130.

tve avatar Jun 19 '19 04:06 tve

error messages are logged on the device in the folder \Garmin\apps\logs\ciq_log.yml

Peterdedecker avatar Jun 19 '19 07:06 Peterdedecker

If I recall correctly, a formula like speed/cadence causes a crash because there isn't any code to guard against dividing by zero or null. One way to handle this would be to return null for undefined operations like dividing by zero (or any operation which involves null), and display something like -- in the data field.

flowstatedev avatar Jan 15 '23 17:01 flowstatedev