I'm trying to create math channel to display wheel speed in km/h.
My sensor trigger wheel has 48 teeth so with freq(A)/48*60 i get rounds per minute and that function works.
But to put it into km/h I need to multiply that with wheel circumference which for 205/55R16 tyre is 1985mm.
Result will be in mm/minutes but i need to convert it to km/h. 1985mm/minutes equals 0.1191 km/h.
So my formula should look like this: freq(A)/48*60*0,1191 but that doesn't work for me. I get this result:
Also tried this one: freq(A)/48*7,146 (60*0,1191=7,146) and this gives bit different results but still not ok.
If i use integer [ freq(A)/48*7 ] then i get correct results but since it's rounded i can't get accurate enough.
I tried using . instead of , but get red error or pico crashes. Also tried parentheses in several ways but no success. What i'm doing wrong and is it possible to use numbers with . or , ?
Today is "answer your own question day" but perhaps helps someone else also.
Anyway i got it sorted after reading picotech forum. Noticed thread there about "Comma as decimal point".
My system also uses comma as decimal point so that's why i have had troubles with math channels from the beginning.
I followed instructions in this thread and now use . as decimal point. Everything works now.
I read that post a while ago & if it wasn't for that you would be doubting yourself & your formula just for yet another bug in the software..............it proper twists my melons