Rockwell-automation FactoryTalk Historian SE ActiveView 3.2 User Guide Manuel d'utilisateur Page 76

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 101
  • Table des matières
  • DEPANNAGE
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 75
FactoryTalk Historian ActiveView User Guide
68
</P>
</HTML>
Example 1 gets the ServerINIURL property from the control.
<script language = "VBScript">
Sub btnGetServerINIURL_onclick()
Dim strCurServerINIURL, strNewServerINIURL
'Get the Current ServerINIURL from the ActiveView
Control
strCurServerINIURL = trim(pbd1.ServerINIURL)
If len(strCurServerINIURL) > 0 Then
txtServerINIURL.value = strCurServerINIURL
Else
txtServerINIURL.value = "Current Server INI URL
is not set"
End If
End Sub
</script>
Example 2 sets ServerINIURL with a string from the text area. The login
information in the Web file is merged with existing information on the
user's PC.
<script language = "VBScript">
Sub btnSetServerINIURL_onclick()
Dim strCurServerINIURL, strNewServerINIURL
'Get the Current ServerINIURL from the ActiveView
Control
strCurServerINIURL = pbd1.ServerIniURL
'New ServerINIURL is in the textarea.
strNewServerINIURL = trim(txtServerINIURL.value)
If strNewServerINIURL > "" _
and strNewServerINIURL <> strCurServerINIURL then
pbd1.ServerINIURL = strNewServerINIURL
End If
End Sub
</script>
ServerIniURLIsValid Property
This read-only, Boolean property indicates whether the specified location
of a pilogin.ini file that contains PI Server information is valid.
Vue de la page 75
1 2 ... 71 72 73 74 75 76 77 78 79 80 81 ... 100 101

Commentaires sur ces manuels

Pas de commentaire