AdsReadConnectUpdateEx2
This event is called if the AdsReadVarConnectEx2() method has been called, and the value from the ADS device has been read or has changed.
object_AdsReadConnectUpdateEx2(
ByVal dateTime As Date,
ByVal nMs As Long,
ByVal hConnect As Long,
ByRef data As Variant,
Optional ByRef hUser As Variant
)
Parameter
dateTime
[out] Timestamp
nHs
[out] Milliseconds of timestamp
hConnect
[out] Handle of the connection; is created by the AdsReadVarConnectEx2() method
data
[out] Value from the ADS device
hUser
[out] General purpose value; is passed when the AdsReadVarConnectEx2() method is called
Comments
The parameters data and hUser must be passed ByRef (necessary for use under Borland Delphi).