Promotic

LastSendError - property of the ExtComm object

Description:
Success rate of the last sent value.
Syntax:
Long LastSendError
Values:
0 - Transmission passed successfully
24 - Timeout from the input (sufficient number of characters wasn't accepted)
33 - Software error
62 - Negative confirmation
65 - Wrong transmitted data (e.g. the wrong configuration of the communication card)
66 - Wrong received data (e.g. the check sum error)
67 - Not possible to create the connection with the server (Ethernet) or the port is not ready for communication (serial link).
Note:
Property access for read only.
See also:
Example1:
JavaScriptVBScriptSelect and copy to clipboard

var nError = oExt.LastSendError;
Example2:
See the example in the PmaCommGroup.onDataSend event.

History:
Pm9.00.21: Created
PROMOTIC 9.0.27 SCADA system documentation MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r.o.