GetQuantityNames

For each of the category names returned from the GetCategoryNames method, this function is called to return a list of quantities to be organized under that category name.

Note:

The quantity names must be unique across the categories; that is, no two categories can have quantities with the same name.

UI Access NA
Parameters
Name Type Description
<categoryName> String [in] Name of category.
Return Value List of strings

 

Python Syntax GetQuantityNames(<categoryName>)
Python Example
# returns a list of quantity names for the supplied category name
def GetQuantityNames(self, catName):
    if catName == "UDOOutputs":
        return ["min_val", "max_val", "avg_val"]
    else:
        return []