display - Display properties of link to CCS IDE or RTDX™ link

Syntax

display(cc)
display(rx)
display(objectname)
display(cc.type)

Description

This function is similar to omitting the closing semicolon from an expression on the command line, except that display does not display the variable name. display provides a formatted list of the property names and property values for a ticcs object. To return the configuration data, display calls the function disp. To return a list of object properties, listed by the actual property names, use get with the object.

display(cc) returns the information about the cc object, listing the properties and values assigned to cc.

display(rx) returns the information about the rtdx object that is part of a cc object, listing the properties and values assigned to cc.rtdx.

display(objectname) returns the properties and property values for objectname. This syntax supports all objects except cc, rtdx, and cc.type.

display(cc.type) returns the properties and property values for the cc.type object. Note that the properties associate with the cc object.

The following example illustrates the default display for a link to CCS IDE:

cc = ticcs;

display(cc)
TICCS Object:
  API version      : 1.0
  Processor type   : C67
  Processor name   : CPU
  Running?         : No
  Board number     : 0
  Processor number : 0
  Default timeout  : 10.00 secs

  RTDX channels    : 0

Using display with Multiprocessor Targets

To support target boards that contain more than one processor, display behaves slightly differently when cc accesses multiprocessor boards.

The syntax

display(cc)

returns information about all of the members of the object. When the target has multiple processors, the information returned includes the details of all of the available processors on the target.

Examples

Try this example to see the display for an RTDX link to a target processor:

cc = ticcs;
rx=(cc.rtdx)    % Assign the RTDX portion of cc to rx.

RTDX channels    : 0

display(rx)

RTDX channels    : 0

See Also

get, set

  


 © 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