The CxVhsEditor object contains the following methods:
The Connect method connects to a VHS.
Connect(DomainSiteService As String)
| Parameter | Required | Description |
|---|---|---|
|
DomainSiteService |
Yes |
The [Domain]Site.Service to which to connect. A domain is optional. The service must be a valid VHS. |
Example
The following example creates and connects the CxVhsEditor object.
|
Sub Dim VhsEditor Set VhsEditor = CreateObject("CxEditors.CxVhsEditor") VhsEditor.Connect("[5410]CYGDEMO.VHS") End Sub |
This method is unimplemented.
This method is unimplemented.
The Disconnect method disconnects from the connected VHS service.
Disconnect()
Example
The following example disconnects the VhsEditor object.
|
Sub VhsEditor.Disconnect End Sub |
The DisplayValues method displays a History Values dialog box for the specified point.
DisplayValues(PointTag As String) As Integer
| Parameter | Required | Description |
|---|---|---|
|
PointTag |
Yes |
The tag of the point for which to display values. The point tag can be in one of the following forms:
|
This method returns one of the following values:
| -1 or 0 | An error occurred. | |
|
1 |
dialog box closed successfully. |
Example
The following example displays a History Values dialog box for point "CYGDEMO.UIS.00001388."
|
Sub Dim iRet iRet= VhsEditor.DisplayValues("CYGDEMO.UIS.00001388") MsgBox iRet End Sub |
This method is unimplemented.
This method is unimplemented.