Greetings!
GRAPH_DATA_XY_AddPoint() takes a GUI_POINT which is a signed 16 bit value for X. I have a long running strip chart which will overflow.
Upon testing the 32767 (2^15 - 1) barrier, it appears to not handle it well. I tried resetting it to 0 after 32767, but that is also not working.
What is the recommended practice for a long running monotonically increasing X which overflows the 16 bit signed max in the GRAPH_DATA_XY widget?
Related xref: Is there a way for getting data added to GRAPH_DATA from GUI heap?
Cheers,
Joe
GRAPH_DATA_XY_AddPoint() takes a GUI_POINT which is a signed 16 bit value for X. I have a long running strip chart which will overflow.
Upon testing the 32767 (2^15 - 1) barrier, it appears to not handle it well. I tried resetting it to 0 after 32767, but that is also not working.
What is the recommended practice for a long running monotonically increasing X which overflows the 16 bit signed max in the GRAPH_DATA_XY widget?
Related xref: Is there a way for getting data added to GRAPH_DATA from GUI heap?
Cheers,
Joe