Echelon i.LON 100 e2 Internet Server Manuel d'utilisateur Page 30

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 223
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 29
i.LON 100 Internet Server Programmer’s Reference 3-13
'Call DataPointWrite, and then call DataPointResetPriority. Note
'that the priority 'level used in the call to
'DataPointResetPriority is less than that used in the call to
'DataPointWrite. This resets the priority assigned to
'NVL_nvo01Switch to 255, and allows all other applications to write
'to the data point. The propagate value used is in each call is 1,
'so that the change is updated over the network.
retWrite = ilon.DataPointWrite(pointName, fieldName, value, _
priority, propagate)
priority = "45"
ilon.DataPointResetPriority(pointName, priority)
'Call DataPointRead and display the properties contained in the
'object returned by the function in text boxes. Note that the names
'used to extract each property from the return object match the
'property names used in the sample SOAP parameters earlier in this
'chapter.
retRead = ilon.DataPointRead(pointName, fieldName)
TextBox1.Text = retRead.UCPTbaseType
TextBox2.Text = retRead.UCPTfieldName
TextBox3.Text = retRead.UCPTformatDescription
TextBox4.Text = retRead.UCPTlocation
TextBox5.Text = retRead.UCPTpointName
TextBox6.Text = retRead.UCPTpointStatus
TextBox7.Text = retRead.UCPTpointUpdateTime
TextBox8.Text = retRead.UCPTpriority
TextBox9.Text = retRead.UCPTunit
TextBox10.Text = retRead.UCPTvalue
TextBox11.Text = retRead.UCPTvalueDef
End Sub
Vue de la page 29
1 2 ... 25 26 27 28 29 30 31 32 33 34 35 ... 222 223

Commentaires sur ces manuels

Pas de commentaire