User`s guide
General xPC Targetâ„¢ Troubleshooting
Option Description
Default
xPCMaxOverloads
Number of acceptable overloads.
0
xPCMaxOverloadLen
Number of contig uo us
acceptable overloads . If
you do not specify this opt ion,
the defau lt value is the same
as
xPCMaxOverlaods.Specify
a value that is the same or
less than the value for the
xPCMaxOverloads option. You
should not a use value greater
than the
xPCMaxOverloads
value.
Same as value of
xPCMaxOverloads
xPCStartupFlag
Number of executions of
the model at startup,
where the timer interrupt
is temporarily disabled during
model execution. After the
model finishes the first
xPCStartupFlag number of
executions, the xPC Target
software enable s the timer
interrupt, which will invoke the
next execution for the m odel.
1
When the xPC Target ke rnel runs the model, it checks the number of CPU
overloads against the values of
xPCMaxOverloads and xPCMaxOverloadLen.
When the numbe r of CPU overloads reaches the lower of these two values,
the xPC Targ et kernel stops executing the mode l.
For exam ple, if you enter a line like the fol lowing for the TLC options
parameter:
-axPCMaxOverloads=30 -axPCOverLoadLen=2 -axPCStartupFlag=5
the xPC Target software ig nores CPU ov erlo ads for the first five iterations
through the model. After this, the xPC Target software allows up to 30 CPU
overloads, preventing no more than two consecutive CPU overloads.
15-25