Delta RMC151 User Manual
Page 160
RMC70/150 and RMCTools User Manual
80 Equal-length Curves
8,550 points
261 points
128 Equal-length Curves
5,381 points
161 points
Curve Store Memory Uses
The Curve Store contains a pool of memory of either 8MB or 256KB in size, as described
above. There are four operations that will consume Curve Store memory:
•
Download Buffer
This buffer is allocated for each curve downloaded from the Curve Tool only for the
duration of that curve download. Therefore no more than one download buffer is
allocated at a time.
•
Re-assembly Buffer
This buffer is allocated when a partial curve download is started. This buffer is used
to re-assemble the parts submitted individually into a single curve data structure.
This buffer is freed up after the final part is added and the curve is ready, or when a
new partial curve download is started—cancelling the existing download—or when
the Curve Delete All (85) command is issued. Notice that no more than one re-
assembly buffer is allocated at a time.
•
Computation Buffer
This buffer is allocated when a curve is being added if the interpolation method
requires extra memory to prepare the curve for interpolation. This currently only
applies to curves using the cubic interpolation method. This buffer is freed up when
the curve adding is completed. Like the re-assembly buffer, no more than one
computation buffer is allocated at a time.
•
Curve Object
Each curve that has been successfully added to the Curve Store will occupy a block
of memory in the Curve Store until that curve is deleted. See the Curves Overview
topic for details on deleting curves. There can be up to 128 curve objects in the
curve store at once, each potentially a different size.
Download Buffer Size
This buffer is allocated for each curve downloaded from the Curve Tool only for the
duration of that curve download. No more than one download buffer is allocated at a
time. The download buffer size depends on the interpolation type as shown below, where
N is the number of points in the curve:
Curve Type
Size
Constant,
Linear
8xN + name length + description length + 40 bytes
Cubic
16xN + name length + description length + 40 bytes
Re-assembly Buffer Size
As described in the Creating Large Curves using the Curve Add Command topic, the
partial curve data format has a field called Total Curve Data Length (TCDL). This field
indicates the number of registers in the re-assembled curve data. Using the TCDL value,
the size of the re-assembly buffer size can be found using the following formulas:
RMC75E
RMC150E
RMC75P
RMC75S
Re-assembly
Buffer Size
32 + TCDL x 4
8 + TCDL x 4
Computation Buffer and Curve Object Sizes
140
Delta Computer Systems, Inc.