disable - Disable RTDX™ interface, specified channel, or all RTDX channels

Syntax

disable(rx,'channel')
disable(rx,'all')
disable(rx)

Description

disable(rx,'channel') disables the open channel specified by the string channel, for rx. Input argument rx represents the RTDX portion of the associated link to CCS IDE.

disable(rx,'all') disables all the open channels associated with rx.

disable(rx) disables the RTDX interface for rx.

Important Requirements for Using disable

On the target side, disable depends on RTDX to disable channels or the interface. You must meet the following requirements to use disable:

  1. The target must be running a program.

  2. You enabled the RTDX interface.

  3. Your target program polls periodically.

Examples

When you have opened and used channels to communicate with a target processor, you should disable the channels and RTDX before ending your session. Use disable to switch off open channels and disable RTDX, as follows:

disable(cc.rtdx,'all') % Disable all open RTDX channels.
disable(cc.rtdx)       % Disable RTDX interface.

See Also

close, enable, open

  


 © 1984-2008- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS
 © 1984-2008- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS