Products & Services Solutions Academia Support User Community Company

Learn more about OPC Toolbox   

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

Display the summary 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
 

Display the summary information 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

addgroup | additem | opcda

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

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