Open2300 - Bug Report 2006x 04x 17x 075310

BUG: Big values reported by mysql2300

When the station lose commmunication with external captors, it displays '---' on the screen. In this case, mysql2300 return really big values (ex : 25 m/s for wind, 80°C for external temperature, ...).

It may be a good idear to return null values instead.

Test case

Break communication with external captors, and see.


Open2300 version: 1.10
Shared libraries: mysql
Server OS: Slackware 7.0

-- CyrilMennessier - 17 Apr 2006

Follow up

See my attachment. mysqlhistlog2300 skips all records with humidity > 100%. Most wrong measurements are prevented by this. Setting to ZERO or NULL would tackle statistics so I decided better to skip the whole record. Can be extended for temp or airspeed on request.

Regards -- OschenLars - 25 Mar 2007

Fix record

For my own record. I have taken this version of mysqlhistlog.c into my 1.11 sources.

-- KennethLavrsen - 19 Jul 2006

BugReportForm edit

TopicTitle Big values reported by mysql2300
BugStatus Resolved
SubmittedBy CyrilMennessier
Topic attachments
I Attachment Action Size Date Who Comment mysqlhistlog2300.c manage 7 K 10 Jun 2006 - 15:19 OschenLars Read WS2300 memory and skips datasets with humidity > 100%.
Topic revision: r4 - 25 Mar 2007, OschenLars
Copyright © 1999-2018 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
This website only use harmless session cookies. See Cookie Policy for details. By using this website you accept the use of these cookies.