EndOfTransfer - method of the PmaDataTable object

After the method calling, the onEndOfTransfer event is triggered with parameters: pEvent.Source = 0 (i.e. local source) pEvent.Error = 0 (i.e. without error).
Empty EndOfTransfer()
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, it means that at first the algorithm is performed in the onEndOfTransfer event and then it is continued on the statements after calling the method.
See also:
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.
JavaScriptVBScriptSelect and copy to clipboard

var oDataTable = pMe.Pm("/DataTable");
oDataTable.SetCellValue(0, 0, 8);
oDataTable.SetCellValue(1, 0, 3.1);
// . . .
oDataTable.SetCellValue(4, 4, 12.3);
PROMOTIC 9.0.27 SCADA system documentation MICROSYS, spol. s r.o.

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