TimerInterval Property

Measurement Studio User Interface

TimerInterval Property

Syntax

CWBinding.TimerInterval

Data Type

Long

Purpose

Automatically calls the Update method at a regular interval specified in milliseconds.

Remarks

If you connect to a data source with the Read or Write access mode (and not ReadAutoUpdate or WriteAutoUpdate), use this property to receive data updates in regular intervals. ReadAutoUpdate and WriteAutoUpdate update the date every time the data changes.

Example

'Create a reference to a CWBinding object
'on CWGraph1
Dim Binding As CWBinding
Set Binding = CWGraph1.CWBindings.Item(1)

'Have Binding return new data once per second
Binding.TimerInterval = 1000
Binding.AccessMode = cwdsRead

'Connect to data source
Binding.Connect

See Also

AccessMode

Update