TimeSource - property of the PmVar object
Description:
Time of value origin in the value source by source time (this is not the time when the value got into the PROMOTIC application).
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).
It is possible that this value is automatically filled in only by some communications:
- the
PmOpcUaClient communication driver - see the "
Time reading type" configurator, when the value is read from the communication together with the corresponding timestamp (and eventually also with the quality).
Example:
JavaScriptVBScriptSelect and copy to clipboard
var oData = pMe.Pm("/Data");
var d = oData.Item(2).TimeSource;
// Reading from the property
Dim oData
Set oData = pMe.Pm("/Data")
Dim d
d = oData.Item(2).TimeSource
' Reading from the property