
22
DEMOEM User Manual
Figure 6-4: 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 are moved 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 Data Format, each incoming data command affecting the graphing
component must have new data for all four waveforms. An example graph is
shown here: