MATLAB XPC TARGET RELEASE NOTES Guide de l'utilisateur Page 521

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 531
  • Table des matières
  • DEPANNAGE
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 520
xPC Target o ptio ns Pane
Signal logging data buffer size in doubles
Enterthemaximumnumberofsamplepointstosavebeforewrapping.
Settings
Default: 100000
Themaximumvalueforthisoptioncanbenomorethantheavailabletarget
PC memory, which the xPC Target software also uses to hold other items.
Tips
Target applications use this buffer to store the time, states, outputs, and
task execution time logs a s defined in the Simulink model.
The maximum value for th is option derives f rom available target PC
memory, which the x PC Target software also uses to hold other items. For
example, in addition to signal logging d ata,thesoftwarealsousesthetarget
PC memory for the xPC Target kernel, target application, and scopes.
For example, ass ume the model
my_xpc_osc2.mdl has six d ata item s (on e
time, two states, two outputs, and one task execution time (T ET)). If you
enter a buffer size of
100000, the target object property tg.MaxLogSamples
is calculated as floor(100000) / 6) = 16666. After saving 16666 sample
points, the buffer wraps and further samples overwrite the older ones.
If you enter a logging buffer size larger than the available R AM on the
target PC, after downloading a nd initializing the target application, the
target PC displays a message,
ERROR: allocation of logging memory
failed
. In this case you need to install more R AM or reduce the buffer size
for logging. In any case you m ust reboot the target PC. To calculate the
maximum buffer size you might have for you target application logs, divide
the amount of available R AM on your target PC by 8. Enter that value for
the Signal logging data buffer size in doubles value.
Command-Line Information
Param ete r: RL32LogBufSizeModifier
Type: string
Value:
'100000' | any vali d memory size
19-23
Vue de la page 520
1 2 ... 516 517 518 519 520 521 522 523 524 525 526 ... 530 531

Commentaires sur ces manuels

Pas de commentaire