nxa.GetItemValuesSum

Description

This function calculates the sum of all items with a specific name in a specific sub tree.

Signature

number nxa.GetItemValuesSum(string, string, number)

Parameters

Name

Type

Mandatory/Optional

Description

Name

Type

Mandatory/Optional

Description

rootPath

string

M

The name of the root folder for the search.

item filter

string

M

The filter of the items that shall be included in the calculation

deep

number

M

The max level of the sub tree that shall be included in the calculation

Return

Type

Description

Type

Description

number

Sum of values.

 

Applies to

  • NETx BMS Platform R2 Build 2071+

  • NETx Multi Protocol Server R2 Build 2071+