GLK19264 Rev 2 Strip Chart
Posted: Thu Aug 14, 2014 5:37 pm
Looking at the documentation for GLK19264 Rev 2 I see that the strip chart commands have been changed and the old command no longer available. My attempts to render strip charts using the newer commands produces bizarre results and the documentation of the parameters is practically non-existent.
What is the purpose of the min/max value parameters? How do these work in relation to the height of the strip chart? Is is scaled? Are the short values signed or unsigned?
The style types are also quite vague as well...what is the difference between bar/box and separated bar/box?
As a test I tried to create bar strip chart 192 wide by 40 pixels high with values from 0 to 40, 5 wide step:
254 110 1 0 0 191 39 0 0 0 40 5 0 0 0
Then sending a sending values from 1 to 10:
254 111 1 0 1
254 111 1 0 2
...
254 111 1 0 10
One would expect this would be a series of bars each one pixel higher. What I end up seeing is a bunch of bars ranging from zero to three pixels high ending with a final bar that actually extends below the bottom of the chart bounds which makes no sense. Is there a sample program or further documentation on how these strip chart parameters work?
What is the purpose of the min/max value parameters? How do these work in relation to the height of the strip chart? Is is scaled? Are the short values signed or unsigned?
The style types are also quite vague as well...what is the difference between bar/box and separated bar/box?
As a test I tried to create bar strip chart 192 wide by 40 pixels high with values from 0 to 40, 5 wide step:
254 110 1 0 0 191 39 0 0 0 40 5 0 0 0
Then sending a sending values from 1 to 10:
254 111 1 0 1
254 111 1 0 2
...
254 111 1 0 10
One would expect this would be a series of bars each one pixel higher. What I end up seeing is a bunch of bars ranging from zero to three pixels high ending with a final bar that actually extends below the bottom of the chart bounds which makes no sense. Is there a sample program or further documentation on how these strip chart parameters work?