User`s guide

General xPC Target™ Troubleshooting
For example, if a model has a stop time of 2.4 and a step size of 1, the
Real-TimeWorkshopsoftwareadjuststhestoptimeofthemodelto2at
compilation. If you change the step size to .6 but do not recompile the code,
the expected number of s teps is 4, but the actual number of steps is 3. This is
becausetheReal-TimeWorkshopsoftwarestillusestheadjustedstoptime
of 2.
To avoid this problem, ensure that the original stop time (as specified in the
model) is an integral multiple of the original step size.
Why Do I Get a File System Disabled Error?
If your target PC does not have a FAT hard disk, the monitor o n the target PC
displays the follow ing error:
ERROR -4: drive not found
No accessible disk found: file system disabled
IfyoudonotwanttoaccessthetargetPCfilesystem,youcanignorethis
message. If you w ant to access the target PC file system, add a FA T hard dis k
to the target PC s ystem and reboot.
Note, ensure that the hard drive is not cable-selected and that the BIOS
can detect it.
Can the Targ et PC Hard Drive Contain Multiple
Partitions?
Yes, the target PC hard drive can contain multiple partitions. However, the
xPC Target software supports file systems of type FAT-12, FAT-16, or FAT-32
only.
Why Does the getparamid Function Return Nothing?
The getp aram id an d getsignalid functions accept block_name parameters.
For these functions, enter for
block_name the m angled name that the
Real-Time Workshop software uses for code generation. You can determine
the
block_name as follows:
If you do not have special characters in your model, use the
gcb function.
15-33