Skip to main content
Version: V2 (Ignition 8.1)

system.mes.oee.getAllLocationPathsWithOee

Description​

Retrieves all Location paths for locations that have associated OEE Configurations, OEE States, or OEE Modes. Optionally filters by a path prefix.

Syntax​

system.mes.oee.getAllLocationPathsWithOee()
system.mes.oee.getAllLocationPathsWithOee(pathPrefix)

Parameters​

Method 1: No Parameters​

ParameterTypeNullableDescription
None--This method does not take any parameters.

Method 2: With Path Prefix​

ParameterTypeNullableDescription
pathPrefixStringYes(Optional) The path prefix to filter locations by. When omitted, all location paths with OEE are returned.

Returns​

Returns a list of strings representing location paths that have associated OEE.

Code Examples​

# Retrieve all location paths with OEE
oeePaths = system.mes.oee.getAllLocationPathsWithOee()
print(oeePaths)

# Retrieve only OEE location paths under a specific branch
filteredPaths = system.mes.oee.getAllLocationPathsWithOee('DairyCo/Plant1/')
print(filteredPaths)