|id||(Variant) Specifies the variable. The value is: |
- Name (String, case sensitive text, for example "d1") or
- Index (Long, zero-based index)
|nAttr||[optional] (Long) It allows to change the behavior of the method.|
0 (default) - default behavior (as the Item method).
1 - When referencing the non-existing object, the global error of the INFO system will not be generated.
The PmVar object contains information about the variable (value, name, index, etc.).
The method returns only variables (with corresponding data extension) that are created directly in this object (own variables). In fact also other variables from PmaData objects are registered into this object - those that have corresponding data extension configured with path to this object. All data extensions registered in this object can be accessed by the GetVarExtensions method.
var oItem = oTrend.ItemEx("Temperature3", 1);