Download 31295005453542

Transcript
260
of the graph relative to the graphics tablet.
During this operation,
the program will not allow the operator to use the softkeys.
If a
softkey is digitized, the program simply ignores the choice.
In
addition, TABLET must receive the points in the order:
upper right, lower left, lower right.
upper left,
In so doing, the program is
capable of conpensating the curve for any rotational error as great as
180 degrees.
If the operator does not digitize the corners in that
specific order, the program will rotate the curve incorrectly.
TABLET also uses the corners to calculate the distance from the
horizontal and vertical boundaries of the graphics tablet.
Thus, the
program can calculate the origin of the graph and conpensate for the
offsets.
These offsets are necessary to store the digitized curve in an
area which is bounded by the graph on the graphics tablet and not the
graphics tablet itself.
Next, TABLET asks for the number of horizontal and vertical
divisions on the graph, and the value per division of the vertical and
horizontal axes.
The program uses these entries to calculate the scale
factors to scale the values being entered.
All data entered from the
graphics tablet is in x-y format.
The graph being digitized, however,
is not necessarily x-y in nature.
The graph may be voltage vs. time or
current vs. tenperature.
Therefore, the program needs the previous data
entries to calculate the proper values for the data being digitized.
After calculating the scaling factors,
position of the zeroline.
TABLET
will ask for the
This entry allows the operator to use data
which has positive and negative values.
position relative to graph.
The operator needs to enter the
For exanple, if the zeroline is 3.5
divisions above the graph boundary, the operator will enter 3.5.
The
entry cannot be larger than the number of vertical positions, however.
Therefore, the program can conpensate for a constant value offset.
TABLET will repeat the previous operation for the second curve, if
there are two (2) curves.
Thus, the program allows the operator to
store two (2) curves on the same graph with different zero (0)
locations.