Promotic
Login logon

ChangedOnLastWrite - property of the PmVar object

Description:
Flag showing if the value was changed by last writing.
Syntax:
Boolean ChangedOnLastWrite
Values:
true - The value was changed by the last writing.
false - The value wasn't changed by the last writing, it means that the same value that was in the property before, was written.
Note:
Property access for read-only.
 
The value of this property can be also obtained in the "PmaRoot" item of the INFO system (when looking into the object with this property).
See also:
- PmVar.TimeWrite (property)
- PmVar.TimeChange (property)
- PmVar.Value (property)
Example:
JavaScriptVBScriptSelect and copy to clipboard

var oData = pMe.Pm("/Data");
var bLast = oData.Item(0).ChangedOnLastWrite;
PROMOTIC 9.0.34 SCADA system documentation MICROSYS, spol. s r.o.

Send page remark Contact responsible person
© MICROSYS, spol. s r.o.Update cookies preferences