Update Method

Measurement Studio User Interface

Update Method

Syntax

CWBinding.Update

Purpose

Causes the CWBinding 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 set to False, it is set to True after the update is completed, and the CWBindingDataUpdated event is generated. If you want to read or write data every time new data is available, use the ReadAutoUpdate or WriteAutoUpdate access modes.

Example

'Get new data
Binding.Update

See Also

AccessMode

CWBindingDataUpdated

DataUpdated