|
| |
If you aren't in the mood for developing and wish to perform simple plotting
or use a pre-made macro configuration, there's not very much you need to know to
get started and the vast majority of these help files may be ignored.
 | Configuring StampPlot
 | Download and Install StampPlot Version 3 |
 | Run once, allow to fully start, then close and run again. This will
provide you with a selection of plots to choose from. |
 | Check your COM Port settings under the configuration button or Menu option
Plot --> Configure Port. |
 | Program your microcontroller to send data which mill be interpreted by
StampPlot: (A BS2 file for testing is accessible from the plot window once
you re-open StampPlot). |
 | Select a configuration to try out, or click the no-frill plot button
provided.
|
 | Click Connect and Plot.  |
|
 | Data Formats
Standard ASCII data is the default way of accepting and processing
data. It allows for analog, digital, and text messages. Strings
are send as ASCII characters and StampPlot will determine from the string
the manner in which it should be processed. All strings MUST end with
an ASCII 13 (carriage return of CR).
 | Analog:
ASCII value strings, one, or up to 10 values separated by commas, will
be plotted as analog data. Each value will plotted in a different color
BasicStamp Examples:
Single value:
DEBUG DEC X,CR
'example output 150
Multiple values:
DEBUG DEC X, ",", DEC Y,CR
'example output 202,145
|
 | Digital:
ASCII strings beginning with % will be plotted as digital data (always
maintain a constant number of bit positions for a plot).
DEBUG IBIN IN8,CR 'Plots a
single bit, such as %0
DEBUG IBIN4 INC,CR 'Plots 4 bits of nibble C, such as %1001
|
 | Text Messages:
ASCII strings beginning with most other characters (special cases are
!, ~, ^, and @) will be listed as a message in the message window.
DEBUG "Hello World!",CR
|
|
 | Macro Values
As data is processed for plotting, it is also available as Macro Values.
 | Analog:
(AINVAL0) to (AINVAL9) for the analog values.
(AINMINVAL0) to (AINMINVAL9) for the minimum values
received since the last min/max clear.
(AINMAXVAL0) to (AINMAXVAL9) for the maximum values
received since the last min/max clear.
(AINTIMEMIN0) to (AINTIMEMIN0) for the minimum value times
since the last min/max clear.
(AINTIMEMAX0) to (AINTIMEMAX0) for the maximum value times
since the last min/max clear. |
 | Digital:
(DIGITAL) for the digital word received.
(BIT0) to (BIT15) for the bit in each position of the
digital word received. |
 | Messages
(MESSAGE) will return the contents of the last text message. |
 | See the Math Operations
summary topic for a full listing of macro values. |
|
 | Plot Configuration
StampPlot has a wide variety of features for displaying and plotting
basic data. Options can be select using the toolbar and menus, or
through StampPlot Instructions. The configuration and control
instructions are ASCII strings beginning with !. For example, !RSET
clears and resets the plot. Many instructions may be
enabled/disabled. The format may be !inst ON/OFF or !inst 1/0.
 | Toolbar:
The toolbar at the top may be used to set the analog and time spans,
increase the values and times of plotted data, and other features.
Please see the Plot Window discussion for more information on the use of
these.
The toolbar may be hidden with !TBAR OFF |
 | Real Time:
StampPlot may show the X-axis in terms of seconds into the plot or real
time. This may be selected under the Axis menu, Time Base
!RTIM ON/OFF
!RTIM ON |
 | Logarithmic Y Axis:
The Y Axis may be configured for linear (default) or logarithmic
values. This may be selected under the Axis menu.
!LOGY ON/OFF
!LOGY ON |
 | Data Points:
In order to redraw the plot when needed and for saving the plot, data
are stored in Data Points. The number of points which may be
stored is 500 by default, or the value may be set. When the
maximum number of data points is reached the plot resets by default.
!PNTS value
!PNTS 5000 |
 | Data Flushing:
Data flushing allows continuous plotting by flushing the oldest
percentage of data.
!FLSH ON/OFF
!FLSH ON
The percentage to be flushed may be set by:
!FAMT percent
!FAMT 5 |
|
 | StampPlot may also accept data as binary data or as
specially formatted strings. Please see Using Binary Data and Special
Data Strings.
|
|