Infosys在阅读器中打开 / AI 翻译

ADS · 0 次阅读

adsSyncGetTimeoutEx

Returns the currently set timeout for ADS calls. The default value is 5000 ms (thread-safe).

long adsSyncGetTimeoutEx (
  long     lj_port,
  JNILong  lj_pMs
);

Parameter

  • long: lj_port port number of an ADS port that had previously been opened with AdsPortOpenEx or AdsPortOpen.
  • JNILong lj_pMs: JNILong object which contains the current timeout after the call.

Return value

long: returns the error state of the function.