Promotic
WikipediaLinkedInYoutubeTwitterFacebook

onDataReceive - event of the PmaCommMsg object

Description:
The event is triggered after the successful data reading and saving into the "Data-received" tab of this object. Can be use mainly for Slave message for the preparation of transmitted data data. For Master message, it is better to use onBeginOfTransfer and onEndOfTransfer events.
Parameters:
pMe(Object) Reference to the PmaCommMsg object where the event rises.
pEvent(Object) Reference to object describing detailed information about the specific event.

The pEvent parameter is not used here because this event does not need any additional information.

Example:
JavaScriptVBScriptSelect and copy to clipboard

var val = pMe.ReadVars(0).Value;
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