Rockwell-automation FactoryTalk Historian SE ActiveView 3.2 User Guide Manual do Utilizador Página 79

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
Vista de página 78
3 For Developers: Administering FactoryTalk Historian ActiveView
71
ConnectionFailed Event
If the connection to the Historian Server fails, this event occurs before the
login dialog box is displayed. This event allows the script to retry the
connection programmatically without showing the login dialog box.
Format
ConnectionFailed (myParam as CFParam)
Examples
The following is an example of using JavaScript to use the security events:
<html>
<head>
<script language = "VBScript">
Sub window_onLoad()
Pbd1.DisplayURL = "<MyDisplayURL>"
End Sub
</script>
<script id = "clientEventHandlersJS" language = "JavaScript">
function Pbd1_ConnectionFailed(pParam) {
alert(pParam.Server);
pParam.UserName = "MyUserName";
pParam.Password = "MyPassword";
}
</script>
<script language = "JavaScript"
for = "Pbd1"
event = "ConnectionFailed(pParam)">
Pbd1_ConnectionFailed(pParam)
</script>
</head>
<body>
<p>
<object id = "Pbd1"
width = "700"
height = "510"
classid = "CLSID:4F26B906-2854-11D1-9597-
00A0C931BFC8">
</object>
Vista de página 78
1 2 ... 74 75 76 77 78 79 80 81 82 83 84 ... 100 101

Comentários a estes Manuais

Sem comentários