MATLAB EMBEDDED IDE LINK 4 - FOR USE WITH TEXAS INSTRUMENTS CODE COMPOSER STUDIO Specifiche Pagina 96

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 126
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 95
Reviewing the Source Code Changes
6-6
This function uses RTDX API functions to change the load of the processing
signal in real time. Notice the following aspects of these changes:
The call to RTDX_enableInput enables the input channel called
control_channel so that data can flow on it from the host to the target. At
run time, a Visual Basic host client writes a load control value on that
channel, thereby sending it to the target application.
The call to RTDX_readNB asks the host to send a load control value on
the control_channel and stores it in the variable called control. This call is
non-blocking; it returns without waiting for the host to send the data. The
data is delivered when the host client writes to control_channel. From the
time of the call to RTDX_readNB until the data is written to the variable
control, this channel is busy, and no additional requests can be posted on
this channel (that is, calls to RTDX_readNB do not succeed). During that
time, the call to RTDX_channelBusy returns TRUE for control_channel.
The processingLoad = control; statement sets the processing load to the
value specified by the control.
Vedere la pagina 95
1 2 ... 91 92 93 94 95 96 97 98 99 100 101 ... 125 126

Commenti su questo manuale

Nessun commento