disp - Summary of information for OPC Toolbox™ objects

Syntax

Obj
disp(Obj)

Description

Obj or disp(Obj) displays summary information for OPC Toolbox object Obj.

If Obj is an array of objects, disp outputs a table of summary information about the objects in the array.

In addition to the syntax shown above, you can display summary information for Obj by excluding the semicolon when

Examples

This example illustrates the summary display of a data access client.

da = opcda('localhost', 'My.Server.1')

da =

Summary of OPC Data Access Client Object: localhost/My.Server.1

   Server Parameters
      Host      : localhost
      ServerID  : My.Server.1
      Status    : disconnected
      Timeout   : 10 seconds

   Object Parameters
      Group     : 0-by-1 dagroup object
      Event Log : 0 of 1000 events

This example shows the summary information displayed for an array of data access clients.

da2 = opcda('localhost', 'My.Second.Server.1');

[da da2]

   OPC Data Access Object Array:

   Index:  Status:         Name:
   1       disconnected    localhost/My.Server.1
   2       disconnected    localhost/My.Second.Server.1

See Also

opcda, addgroup, additem

  


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