Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

IMM-4016-tagsSampleTags.json

Non UDT Tags at Edge

...

Warning
Changes made at an edge device to UDT definition member tags are not propagated through the system. You will see that any tag instances of that UDT at the edge device will reflect the changes, but the recorded definition for the UDT at engine will not change nor will tag instances for other edge devices using that definition.

...

Add UDT Definition and UDT Instance

Create TestUDT1 with tag "New Tag" (Int) = 10

Add G1/E1/D1/NewInstance1 as TestUDT1

...

UDT Definition configured at Engine with member tag values = null

UDT Instance tag created with member tagsU

...

Add new member tag to UDT Definition

Add "New Tag 1" (Bool) = True to TESTUDT1

...

SparkplugBPayloadHandler errors with UDT definition collision detected for TESTUDT1. Set log level to 'TRACE' for details.

No change for UDT Instance tags or UDT Definitions at Engine

...

New tag is configured at Engine

The UDT definition is configured at Engine

Delete member tag from UDT Definition

Delete "New Tag 1" from TESTUDT1

...

On delete: No change at Engine

AgentEdgeNode errors with 

Device metric is null for Device=G1/E1/D1 and metricName=NewInstance1/New Tag 1

Failed to build the UDT metric based on the path=NewInstance1/New Tag 1

...

definition

...

.

...

No change for UDT Instance tags or UDT definition at Engine

...

UDT Instance tag is configured at Engine

The UDT definition is configured at Engine

Delete a member tag from a UDT Definition and add one with the same name in the same hierarchy position

Delete "New Tag" from TESTUDT1

Add "New Tag" (Bool)

On delete: No change at Engine

AgentEdgeNode errors with 

Device metric is null for Device=G1/E1/D1 and metricName=NewInstance1/New Tag

Failed to build the UDT metric based on the path=NewInstance1/New Tag

On add: No change at Engine

AgentEdgeNode errors with

AgentEdgeNode    06Mar2024 16:58:00    Failed to build the UDT metric based on the path=NewInstance1/New Tag
AgentEdgeNode    06Mar2024 16:58:00    Device metric is null for Device=G1/E1/D1 and metricName=NewInstance1/New Tag
AgentTagChangeListener    06Mar2024 16:58:00    DataType changed for [default]G1/E1/D1/NewInstance1/New Tag to [valueSource, dataType, name, value, tagType]
AgentTagChangeListener    06Mar2024 16:58:00    This is a UDT with root: NewInstance1 (based on metric name: NewInstance1/New Tag) and context: MetricContext [name=NewInstance1, metricDataType=Int32, storeForwardEnabled=DEFAULT, tagProviderName=default, tagPathToMetric=G1/E1/D1/, isUdtMember=false, parentUdtMetricName=null]
AgentEdgeNode    06Mar2024 16:58:00    Failed to build the UDT metric based on the path=NewInstance1/New Tag
AgentEdgeNode    06Mar2024 16:58:00    Failed to build the UDT metric based on the path=NewInstance1/New Tag
AgentEdgeNode    06Mar2024 16:58:00    Failed to build the UDT metric based on the path=NewInstance1/New Tag
AgentEdgeNode    06Mar2024 16:58:00    Device metric is null for Device=G1/E1/D1 and metricName=NewInstance1/New Tag
AgentEdgeNode    06Mar2024 16:58:00    

...

SparkplugBPayloadHandler errors with UDT definition collision detected for TESTUDT1. Set log level to 'TRACE' for details

No change for tags or UDT definition at Engine

...

UDT Instance tag is configured at Engine

The UDT definition is configured at Engine

Add a Child UDT definition to a UDT Definition

Add TestUDT/t4Instance as type T4

...

Delete a Child UDT definition from a UDT definition

Delete TestUDT/t4Instance

...

Delete a Child UDT definition from a UDT definition and add one in the same hierarchy position with the same name and tag folder structure

Delete TestUDT/t3Instance with type T3

Add TestUDT/t3Instance as type T3

...

Delete a child UDT definition member tag (this deletes the Child UDT definition from the parent UDT definition) and recreate with the same name and tag structure

Delete TestUDT/t3Instance with type T3

Add TestUDT/t3Instance as type T3

Delete a child UDT definition member tag (this deletes the Child UDT definition from the parent UDT definition) and recreate with the same name and different tag structure

Delete TestUDT/t3Instance with type T3

...