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

  • 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 71
FactoryTalk Historian ActiveView User Guide
64
Examples
The following examples are written in VBScript. To use, insert each
example code after the <HTML> tag in the following HTML code.
<HTML>
'Insert the code from all three examples here.
<object id = "pbd1"
classid = "clsid:4F26B906-2854-11D1-9597-
00A0C931BFC8"
height = "300"
width = "400">
</object>
<p>
<input id = "btnGetDisplayURL"
type = "button"
value = "Get DisplayURL"
title = "This property specifies the location of the
FactoryTalk Historian ProcessBook Display file. It can be set
to a URL string. The URL string should not contain any escape
characters. HTTP or FTP protocols (services) are supported.
You can also use a UNC path or a local path to a display. For
the UNC and local paths, the protocol prefix file: is
optional.">
<input id = "txtDisplayURL"
size = "64"
value = "DisplayURL">
<input id = "btnSetDisplayURL"
type = "button"
title = "To set the display URL: MyControl.DisplayURL
= http://www.MyServer.Com/MyDisplay.pdi">
</p>
</html>
Example 1 gets the DisplayURL 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 strCurServerINIURL > "" Then
txtServerINIURL.value = strCurServerINIURL
Vue de la page 71
1 2 ... 67 68 69 70 71 72 73 74 75 76 77 ... 100 101

Commentaires sur ces manuels

Pas de commentaire