MATLAB XPC TARGET RELEASE NOTES Guía de usuario Pagina 274

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 531
  • Tabla de contenidos
  • SOLUCIÓN DE PROBLEMAS
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 273
15 Frequently Asked Questions
By default, if the host PC does not get a response from the target PC after
downloading a target application and waiting 5 seconds, the host P C softw are
times out. The target PC responds only after downloading and initializing
the target application.
Usually 5 seconds is enough time to initialize a target application, but
insomecasesitmightnotbesufficient. Thetimetodownloadatarget
application mostly depends on your I/O hardware. For example, thermocouple
hardware (such as the PCI-DAS-TC board) takes longer to initialize. With
slower hardware, you might also get errors when building and downloading
an associated mode l. Even though the tar get PC is fine, a false time-ou t is
reported and you might get an error li ke the following:
"cannot connect to ping socket"
This is not a fatal error. You can reestablish communication with the
following procedure:
1 At the MATLAB Command Window, issue the xpctargetping command.
For example,
xpctargetping
2 Wa it for the system to return from the xpcta rgetping.
3 Restart the target object.
Alternativ el y, you can increase the time-out value, using the following
procedure:
1 In your Simulink model, select Simulation > C onfiguration
Paramete rs > xPC Target o ptio n s create a file called
xpcdltimeout.dat.
2 Clear the Use default comm unication timeout parameter.
The Specify the communication timeout in seconds para m eter
appears.
3 Specify a new time-out value, in seconds. For example, ente r 20.
4 Click OK.
15-8
Vista de pagina 273
1 2 ... 269 270 271 272 273 274 275 276 277 278 279 ... 530 531

Comentarios a estos manuales

Sin comentarios