readAsync
Reads data from an ADS device.
readAsync(
nIndexGroup,
nIndexOffset,
cbLen,
pCallback,
userState
);
Parameters
nIndexGroup | Type: Number |
nIndexOffset | Type: Number |
cbLen | Type: Number |
pCallback | Type: Function pointer |
userState | Type: Every |
Returns
This function will return nothing. An TcAdsWebService.Response object is returned by calling the callback function which was set by use of the pCallback parameter.
If successfull, the TcAdsWebService.Response.reader property contains the data in the order in which the data was requested.