Promotic
WikipediaLinkedInYoutubeTwitterFacebook

onEndOfTransfer - event of the PmaData object

Description:
The event is triggered after ending the data transfer.
Parameters:
pMe(Object) Reference to the PmaData object where the event rises.
pEvent(Object) Reference to object describing detailed information about the specific event.
pEvent.Source - (Long) Source from which the event is is triggered. Can have the following values:
0 - The event is triggered locally by the EndOfTransfer method. The pEvent.Error parameter is always 0.
10 - Data was written into this object by XML communication. For example in this object the ReadFromWeb method was called or the client (other PmaData object) called its WriteToWeb method.
20 - Data was read from the object by XML communication. For example in this object the WriteToWeb method was called or the client (other PmaData object) called its ReadFromWeb method or Web browser (Chrome, Firefox, Edge, InternetExplorer ...) read this XML data.
1 - Data are written into this object by Socket communication. For example in this object the ReadFromSocket method was called or the client (other PmaData object) called its WriteToSocket method.
2 - Data are read from the object by Socket communication For example in this object the WriteToSocket method was called or the client (other PmaData object) called its ReadFromSocket method.
pEvent.Error - (Long) The value of the transfer error:
0 - (XML and socket) the transfer passed successfully
24 - (only XML) transfer error - Web server is probably is not accessible
33 - (only XML) software error
40 - (only XML) operation (for read and write) is not enabled - the client has probably set the sUser or sPassword parameter incorrectly when calling the ReadFromWeb or WriteToWeb method
61 - (only XML) Web server cannot connect to client on the URL address
62 - (only XML) Web server responded negatively (HTTP status is not 200=OK)
64 - (XML and socket) received data cannot be saved (probably incompatible formats)
66 - (only XML) the received message doesn't have the required format
1001 - (only socket) the item name is not in the target group list
1006 - (only socket) the item name is the same as another name in the objects list
1007 - (only socket) the system manager cannot hook up
1008 - (only socket) cannot hook up
1010 - (only socket) the socket manager cannot achieve the target PC
1011 - (only socket) wrong checksum
1012 - (only socket) wrong number of the received packet, only with the client and by the UDP/IPX protokol
1013 - (only socket) socket has been closed, the cause not defined
1014 - (only socket) no data arrived
1015 - (only socket) less data arrived
1201 - (only socket) timeout expired
1202 - (only socket) the time for re-opening the socket expired and an error occured
1203 - (only socket) socket has been closed asynchronously, the cause not defined
values 10000 and higher - (only socket) standard communication error of OS Windows. In case of urgent need to find the error, contact the MICROSYS company.
PROMOTIC 9.0.12 SCADA system documentation - MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice