Update Method
Syntax
CWDataSocket.Update
Purpose
Causes the CWDataSocket to read from a data source or write to a data target.
Remarks
Use the AccessMode property to determine if Update reads or writes data.
When using the cwdsRead or cwdsWrite access mode, call the Update method when you want a read or write to occur. If the DataUpdated property is False, it is set to True after the update is completed, and the OnDataUpdated event is generated. If you want to read or write data every time new data is available, use the cwdsReadAutoUpdate or cwdsWriteAutoUpdate access modes.