<< Click to Display Table of Contents >>
ShowPowerExplorer |
ShowPowerExplorer(Title, RootObject, [Left], [Top], [ReadOnly], [ScreenObject], [BKColor], [ShowObjHierarchy])
Displays a window with all Analog and Discrete Measurements, Commands, and Protections of the selected object. This method's parameters are listed on the next table.
Parameters of the ShowPowerExplorer method
Parameter |
Description |
---|---|
Title |
Determines a window's title. Corresponds to PowerExplorer object's Title property |
RootObject |
Data device's path |
Left |
Window's horizontal coordinate, in pixels. Please check PowerExplorer object's SetWindowPlacement method for more information about this parameter's behavior, if omitted |
Top |
Window's vertical coordinate, in pixels. Please check PowerExplorer object's SetWindowPlacement method for more information about this parameter's behavior, if omitted |
ReadOnly |
Allows changing or not Measurement values with the ActiveSource property equal to 2 - Operator (Discrete or Analog), and also sending Commands. Corresponds to PowerExplorer object's ReadOnly property. If omitted, allows changing Measurement values and sending Commands |
ScreenObject |
Informs the graphical object associated to this method, highlighting its terminals. Corresponds to PowerExplorer object's ScreenObject property. If omitted, does not associate PowerExplorer's window to any graphical object |
BKColor |
Background color of the Display containing Measurement, Command, and Protection values. Corresponds to PowerExplorer object's DisplayBkColor property. If omitted, uses Windows default background color |
ShowObjHierarchy |
Indicates whether a tree must be displayed with the hierarchy of child objects of the object that called the PowerExplorer object. Corresponds to PowerExplorer's ShowObjectHierarchy property. If omitted, does not display a tree with the hierarchy of child objects |
Usage example:
Sub Button1_Click()
Application.ShowPowerExplorer "Breaker 5201",_
"SE1.[5201]", 100, 100, False,_
Screen.Item("Breaker5201"), RGB(0,0,0), False
End Sub
NOTE |
PowerExplorer's properties can be configured in the object returned by Viewer's GetPowerExplorer method. |