32
DEMOQE128 User Manual
6.5.1
Visual Components
The Bar Graph has four separate bars A, B, C, and D. On each bar a
percentage value is displayed which indicates the current value relative to the
full range. A byte value of $7F (max is $FF) would show up as approximately
50% as would a word value of $7FFF (max is $FFFF). As can be seen in the
data formatting section, all four bars must be written at the same time. The
bars are shown here:
Figure 6-5: Serial Grapher Bar Graph
The graphing component shows four waveforms X, Y, Z, and W. The
magnitude axis either has a range of $00-$FF (if byte values are incoming on
the serial port) or $0000-$FFFF (if word values are incoming). Each new set
of values which comes through the serial port is added to the far right side of
the graph and the rest of the data values move to the left. The vertical axis
displays the incoming data as the magnitude of each waveform, and the
horizontal axis displays the number of samples. The graph has a limited size,
so older samples will eventually fall off the left part of the graph. As can be
seen in
Section 6.5.2 - Data Format
, each incoming data command affecting
the graphing component must have new data for all four waveforms. An
example graph is shown here: