adsSyncSetTimeoutEx
Alters the timeout for the ADS functions. The default value is 5000 ms (thread-safe).
long adsSyncSetTimeoutEx (
long lj_port,
long lj_nMs
);
Parameter
- long: lj_port port number of an ADS port that had previously been opened with AdsPortOpenEx or AdsPortOpen.
- long lj_nMs: timeout in ms.
Return value
long: returns the error state of the function.