Enter the maximum number of sample points that the software stores before wrapping.
The maximum value for this option cannot exceed the available target computer memory, which the Simulink® Real-Time™ software also uses to hold other items.
Real-time applications use this buffer to store the time, states, outputs, and task execution time (TET) logs as defined in the Simulink model.
The maximum value for this option derives from available target computer memory, which the Simulink Real-Time software also uses to hold other items. For example, in addition to signal logging data, the software also uses the target computer memory for the Simulink Real-Time kernel, real-time application, and scopes.
For example, assume that your model has six data items (time,
two states, two outputs, and task execution time). If you enter a
buffer size of
100000, the target object property
floor(100000 / 6) = 16666. After
the buffer saves 16666 sample points, it wraps and further samples
overwrite the older ones.
Suppose that you enter a logging buffer size larger
than the available RAM on the target computer. When you download and
initialize the real-time application, the target computer displays
ERROR: allocation of logging memory failed.
To avoid this error, either install more RAM or reduce the buffer
size for logging, and then restart the target computer. To calculate
the maximum buffer size available for your real-time application logs,
divide the amount of available RAM on your target computer by
8. Enter that value for the Signal
logging data buffer size in doubles value.
|Type: character vector|