ArchiveFilterVariables.ItemByIdEx



ItemByIdEx(vVariableId As Variant,vCalculation As Variant,vProjectName As Variant) As ArchiveFilterVariable

Parameters

vVariableId As Variant
Uniqe PvID of linked zenOn Variable
vCalculation As Variant
Type of claculation as long
Calculation Types
vProjectName As Variant
Projectname as string
ED
not used
RT
read only

Remarks

Returns an object of type ArchiveFilterVariable.

Sample:


Sub GetArchiveFilterVariable(zArvFilter As ArchiveFilter)
Dim zVariable As Variable
Dim zFilterVar As ArchiveFilterVariable
	'get variable object to read the PvID!
	Set zVariable = thisProject.Variables.Item("WIZ_VAR_10")
	'get the filtervariable with SUM calculation
	Set zFilterVar = zArvFilter.ArchiveFilterVariables.ItemByIdEx(zVariable.PvID, thisProject.Name, 1)
End Sub

See Also

ArchiveFilterVariables, ArchiveFilterVariable