adsSyncWriteReq
Writes data synchronously to an ADS device.
long adsSyncWriteReq(
AmsAddr lj_AmsAddrlonglj_indexGroup,
long lj_indexOffset,
long lj_length,
JNIByteBuffer lj_pData
);
Parameter
- AmsAddr lj_AmsAddr: object with NetId and port number from ADS server.
- long lj_indexGroup: Index Group
- long lj_indexOffset: Index Offset
- long lj_length: length of the data in bytes that are written to the ADS server.
- JNIByteBuffer lj_pData: JNIByteBuffer whose data is written to the ADS server.
Return value
long: returns the error state of the function.