MATLAB EMBEDDED IDE LINK 4 - FOR USE WITH TEXAS INSTRUMENTS CODE COMPOSER STUDIO Guía de usuario Pagina 289

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 575
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 288
isenabled
Note For isenabled to return reliable results, your processor must
be running a loaded program. When the processor is not running,
isenabled returns a status that may not represent the true state of the
channels or RTDX.
Examples With a program loade d on your processor, you can determine whether
RTDX channels are ready for use. Restart your program to be sure it is
running. The processor must be running for
isenabled to work, as well
as for
enabled to work. This example creates a ticcs object cc to begin.
cc.restart
cc.run('run');
cc.rtdx.enable('ichan');
cc.rtdx.isenabled('ichan')
MATLAB software returns 1 indicating that your channel 'ichan' is
enabled for RTDX communications. To determine the mode for the
channel, use
cc.rtdxto display the properties of object cc.rtdx.
See Also clear, disable, enable
7-67
Vista de pagina 288
1 2 ... 284 285 286 287 288 289 290 291 292 293 294 ... 574 575

Comentarios a estos manuales

Sin comentarios