readwriteAsync
Writes data to an ADS device and then reads data from this device.
readwrite(
nIndexGroup,
nIndexOffset,
cbRdLen,
pwrData,
pCallback,
userState,
);
Parameters
nIndexGroup | Type: Number |
nIndexOffset | Type: Number |
cbRdLen | Type: Number |
pwrData | Type: Base64 encoded binary string |
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.