Professional Documents
Culture Documents
Automation Interface
Contents
Contents
CBConfiguration Automation Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5
Object Hierarchy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Application Object . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Document (read only) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Name (read only). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Parent (read only) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Visible . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Quit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Document Object . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Parent (read only) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Application (read only). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Comment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
SimActive . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
TripTime (read only) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
CloseTime (read only) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
CB52abPercent (read only) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
InitClosed. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
AutoReset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
AutoResetTime . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
R52aCBNotClosedTime . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
R52bCBOpenTime . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
R52aCBClosedTime . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
R52bCBNotOpenTime. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
RecloserModeActive . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .17
CBConfiguration Automation
Interface
Object Hierarchy
Figure 1:
Object hierarchy of an
CBCfg document
Application Object
The application object is the root of the OMICRON CB Configuration object
hierarchy. It is the only object that can be created directly by other OLE
Automation controllers (e.g. MS Excel using CreateObject).
This object is unique within the OMICRON CB Configuration. If you want to
create another Application object with CreateObject, a new instance of the
OMICRON CB Configuration program is started to handle this object.
You can get a reference to the Document Object (Document).
Properties
Document (read only)
Syntax:
object.Document
Type:
Object (Document)
Description:
Example:
object.Name
Type:
String
Description:
Example:
Syntax:
object.Parent
Type:
Object
Description:
Example:
Visible
Syntax:
object.Visible
Type:
Boolean
Description:
Example:
Note: If you use an external OLE Automation controller (e.g. OMICRON Control
Center) and you create the Application Object (Application) (and start the
OMICRON CB Configuration application) you have to set the visible property to
True to see the main window of the application.
Methods
Quit
Syntax:
object.Quit
Return type:
None
Description:
Example:
Document Object
With the Document Object (Document) you can control the document.
Properties
Parent (read only)
Syntax:
object.Parent
Type:
Object
Description:
Example:
object.Application
Type:
Object (Application)
Description:
Example:
Comment
Syntax:
object.Comment
Type:
String
Description:
Example:
SimActive
Syntax:
object.SimActive
Type:
Boolean
Description:
Example:
10
object.TripTime
Type:
Double
Description:
Example:
object.CloseTime
Type:
Double
Description:
Example:
11
object.CB52aPercent
Type:
Double
Description:
Example:
InitClosed
12
Syntax:
object.InitClosed
Type:
Boolean
Description:
Example:
AutoReset
Syntax:
object.AutoReset
Type:
Boolean
Description:
Example:
AutoResetTime
Syntax:
object.AutoResetTime
Type:
Double
Description:
Example:
13
R52aCBNotClosedTime
Syntax:
object.R52aCBNotClosedTime
Type:
Double
Description:
Example:
R52bCBOpenTime
14
Syntax:
object.R52bCBOpenTime
Type:
Double
Description:
Example:
R52aCBClosedTime
Syntax:
object.R52aCBClosedTime
Type:
Double
Description:
Example:
R52bCBNotOpenTime
Syntax:
object.R52bCBNotOpenTime
Type:
Double
Description:
Example:
15
RecloserModeActive
16
Syntax:
object.RecloserModeActive
Type:
Boolean
Description:
Example:
Support
Support
When you are working with our products we want to provide you with the
greatest possible benefits. If you need any support, we are here to assist you!
OMICRON electronics GmbH, Oberes Ried 1, 6833 Klaus, Austria, +43 59495
17
Support
18