User`s guide
General xPC Target™ Troubleshooting
• An extended counter takes the output of an encoder block and provides a
count that is not limited by register size. For an n-bit regis ter, this counter
should be able to count values grea ter than
2^(n-1).
Keep the following requirements in m ind when using these sample blocks:
• Some driver blocks allow an initial starting value to be loaded into the
register. You must pass this value t o t he rollover blocks to adjust for
that offset.
• The rollover block needs to know how many counts each rollover represents.
Typically, this num b er is
2^n,wheren isthesizeoftheregisterinbits.
Why Do I Get Compile Error When Compiling Models?
The xPC Target software supports only static links. When you compile your
models, ensure that you use only static links. When compiling with xPC
Target S-functions, this is not an issue.
15-35