Promotic
WikipediaLinkedInYoutubeTwitterFacebook

WebClientIsReady - property of object PmDataTable

Description:
Finding out it the object is ready to write/read to WEB server. In this case the PmDataTable object is then the Web client.
Syntax:
WebClientIsReady As Boolean
Calling:
b = oDataTable.WebClientIsReady
Values:
true - the object is ready to transfer the WEB data (i.e. the ReadFromWeb or WriteToWeb method can be called)
false - the object is not ready to transfer the data (the data from the previous calling the referred methods is still transferring)
Note:
Property access for read only. The object gets in the transfer of data state by the ReadFromWeb or WriteToWeb method. During the transfer these methods cannot be re-called over the object and the WebClientIsReady property then returns the value false. After the transfer (i.e. after the onEndOfTransfer event fires) the methods can be called again and the WebClientIsReady returns the value true.
Example:
If oData.WebClientIsReady Then
  oData.ReadFromWeb "http://compX/temperatures/data.xml?fmt=purevalue"
Else
  Pm.Debug "WebClient is not ready (is still active)"
End If
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice