It enables reading all values of the data group (defined on the Data
page) from the OPC server.
Refresh(Attr As Long) As Boolean
true - on success
false - on error
The method always reads all data. If it is requested to read only the specific data (into the Data
page), then the Read
method can be used. The Refresh
method is the asynchronous operation (see OPC DA Basic terms
The Refresh method needn't be called if the configurator Update from server at server change is set on the Parameters page because the data are then "read" automatically.
VBScriptSelect and copy to clipboard
If oClientData.Refresh(0) Then