AutoRunEnabled - property of the PmaCommMsg object
Description:
Enable/disable the automated transmissions.
Syntax:
Boolean AutoRunEnabled
Note:
Property access
for read and write.
The default value of this property is defined in the "
AutoRun transfer enabled" configurator of this object.
If the automated transmissions are enabled, then the
Run method will be called automatically with the period defined in the "
Transfer period [ms]" configurator (set in the
AutoRunPeriod property).
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.AutoRunEnabled = true;
// false
Dim oCommMsg
Set oCommMsg = pMe.Pm("/Comm/mr")
oCommMsg.AutoRunEnabled = true
' false