AdsReadConnectUpdateEx

This event is called if the AdsReadVarConnectEx() method has been called, and the value from the ADS device has been read or has changed.

object_AdsReadConnectUpdateEx(
  ByVal dateTime As Date,
  ByVal nMs As Long,
  ByVal hConnect As Long,
  ByVal data As Variant,
  Optional ByVal hUser  As Variant
)

Parameter

dateTime

[out] Timestamp

nHs

[out] Milliseconds of timestamp

hConnect

[out] Handle of the connection; is created by the AdsReadVarConnectEx() method

data

[out] Value from the ADS device

hUser

[out] General purpose value; is passed when the AdsReadVarConnectEx() method is called

Comments

-

Example

Visual Basic sample: 'Event-driven reading'