Specifications

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.