AutoRunPeriod - property of the PmaCommMsg object
Description:
The period of automated transmissions in milliseconds.
Syntax:
Long AutoRunPeriod
Note:
Property access
for read and write.
The default value of this property is defined in the "
Transfer period [ms]" configurator of this object.
If the automated transmissions are enabled (see the "
AutoRun transfer enabled" configurator and the
AutoRunEnabled property), then the
Run method will be called automatically (with defined repetition period).
This property is functional only if the message is of the
Master type (i.e. if the "
Message type" configurator is set to "
Master").
Example:
JavaScriptVBScriptSelect and copy to clipboard
var oCommMsg = pMe.Pm("/Comm/mr");
oCommMsg.AutoRunPeriod = 1000;
Dim oCommMsg
Set oCommMsg = pMe.Pm("/Comm/mr")
oCommMsg.AutoRunPeriod = 1000