Promotic
WikipediaLinkedInYoutubeTwitterFacebook

EndOfTransfer - method of object PmDataTable

Description:
Method fires the onEndOfTransfer event with parameters: pEvent.Source = 0 (i.e. local source) pEvent.Error = 0 (i.e. without error).
Syntax:
EndOfTransfer
Calling:
oDataTable.EndOfTransfer
Note:

Calling this method is suitable, for example, if you want to process the data of an object on one place. If the data are received from the communication or if the data are locally set, and then the EndOfTransfer method is called, then the data can be processed in the same way in the onEndOfTransfer event.

Calling the method is synchronous, i.e. at first the algorithm is performed in the onEndOfTransfer event and then it is continued on the statements after calling the method.

Example:
At first the data of the object are set and then the EndOfTransfer method is called as the indication that everything is ready and that the data can be processed in the onEndOfTransfer event.
oDataTable(0,0) = 8
oDataTable(1,0) = 3.1
..
oDataTable(4,4) = 12.3
oDataTable.EndOfTransfer
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice