You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 20 Next »

IMM-4016-tags.json

With Transmission set to Convert UDTs to Tags

Action at EdgeResultActionResult

Create new group level folder with no tags

G2

No change at EngineRefresh TransmissionNo folder created at Engine

Create new edge level with no tags

Add G2/E2

No change at EngineRefresh TransmissionFolder path is created at Engine

Create new device level folder with no tags

Add G1/E1/D2

No change at EngineRefresh TransmissionFolder path is created at Engine

Add a tag to folder

Add G1/E1/D1/Tag2

No change at EngineRefresh TransmissionTag is created under tag folder path at Engine

Delete a tag

Delete G1/E1/D1/Tag2

Engine will mark tag as Bad_Stale

Refresh Transmission

No change at Engine

Delete tag at Engine

Tag deleted

Delete tag and add tag with the same name

Delete G1/E1/D1/Tag1


On delete: Engine will mark tag as Bad_Stale

On add: No change as Engine

Refresh TransmissionTag will be configured at Engine under tag folder path with any new properties GOOD quality

Delete tag and create a folder which has the same name as the tag. Add a tag to this folder.

Delete G1/E1/D1/Tag1

Add G1/E1/D1/Tag1/Tag2

On delete: Engine will mark tag as Bad_Stale

On add: No change at Engine


Delete tag at Engine before a Transmission refresh is performed

New tag will be created under new tag folder path at Engine

Refresh Transmission without deleting tag at Engine

Error similar to below logged, tag will not be deleted and no tag path folder will be created

Error processing edit for tag path '[MQTT Engine]Edge Nodes/My MQTT Group/Edge Node 0964bf/PLC 1/New Tag/New Tag1': Bad_Unsupported("The target path '[MQTT Engine]Edge Nodes/My MQTT Group/Edge Node 0964bf/PLC 1/New Tag' cannot accept children tags.")

Delete tag and parent folder and add a tag with same name as the parent folder

Delete G1/E1/D1/Tag1/Tag2

Add G1/E1/D1/Tag1

On delete: Engine will mark tag as Bad_Stale

On add: No change at Engine

Refresh TransmissionTag and folder will be configured at Engine

Add UDT Definition and UDT Instance

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

Add G1/E1/D1/NewInstance1 as TestUDT1

No change at EngineRefresh Transmission

Folder will be created named as the UDT Instance and UDT member tag will be created under tag folder at Engine

Add new member tag to UDT Definition

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

No change at EngineRefresh TransmissionNew UDT member tag created under folder named as UDT Instance at Engine

Delete member tag from UDT Definition

Delete "New Tag 1" from TESTUDT1


Engine will mark the tag as Bad_NotFoundRefresh TransmissionNo change at Engine
Delete tag at EngineTag deleted

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: Engine will mark the tag as Bad_NotFound

On add: No change at Engine

Refresh TransmissionUDT member tag will be configured with new properties under folder named as UDT Instance at Engine

Add a Child UDT definition to a UDT Definition

Add TestUDT/t4Instance as T4


No change at Engine

Refresh TransmissionNew folder and member tags created at Engine named as the new Child UDT instance under the folder named as UDT Instance

Delete a Child UDT definition from a UDT definition

Delete TestUDT/t4Instance

No change at Engine

Tags will need to be deleted at Engine


** THIS SHOULD BE FIXED** On delete: DATA message pushed for the deleted child instance tag contain two metric qualities first as Bad_NotFound and second as Bad_Stale

On topic=spBv1.0/G1/DDATA/E1/D1: Incoming payload: SparkplugBPayload [timestamp=1709740637794, metrics=[Metric [name=Instance1/t4Instance/t4Tag, alias=null, timestamp=1709740636793, dataType=Unknown, isHistorical=null, isTransient=null, metaData=null, properties=PropertySet [propertyMap={Quality=PropertyValue [type=Int32, value=-2147483129, isNull=false]}], value=null, isNull=true], Metric [name=Instance1/t4Instance, alias=null, timestamp=1709740636908, dataType=Unknown, isHistorical=null, isTransient=null, metaData=null, properties=PropertySet [propertyMap={Quality=PropertyValue [type=Int32, value=-2147483132, isNull=false]}], value=null, isNull=true]], seq=2, uuid=null, body=null]

CirrusSparkplugUtil errors with Received invalid payload - trying to decode with legacy decoder

SparkplugBPayloadHandler errors with Unknown/Unsupported data type: Unknown

SparkplugUtils errors with Unsupported MetricDataType Unknown

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

Delete TestUDT/t3Instance

Add TestUDT/t3Instance

No change at Engine

No action required

** SHOUDL BE FIXED ** On delete: DATA message pushed for the deleted child instance tag containing two metric qualities first as Bad_NotFound and second as Bad_Stale

On topic=spBv1.0/G1/DDATA/E1/D1: Incoming payload: SparkplugBPayload [timestamp=1709741482079, metrics=[Metric [name=Instance1/t3Instance/t3Tag1, alias=null, timestamp=1709741481077, dataType=Unknown, isHistorical=null, isTransient=null, metaData=null, properties=PropertySet [propertyMap={Quality=PropertyValue [type=Int32, value=-2147483129, isNull=false]}], value=null, isNull=true], Metric [name=Instance1/t3Instance, alias=null, timestamp=1709741481187, dataType=Unknown, isHistorical=null, isTransient=null, metaData=null, properties=PropertySet [propertyMap={Quality=PropertyValue [type=Int32, value=-2147483132, isNull=false]}], value=null, isNull=true]], seq=2, uuid=null, body=null]

CirrusSparkplugUtil errors with Received invalid payload - trying to decode with legacy decoder

SparkplugBPayloadHandler errors with Unknown/Unsupported data type: Unknown

SparkplugUtils errors with Unsupported MetricDataType Unknown


On add: DATA message pushed for added child instance 

On topic=spBv1.0/G1/DDATA/E1/D1: Incoming payload: SparkplugBPayload [timestamp=1709741482079, metrics=[Metric [name=Instance1/t3Instance/t3Tag1, alias=null, timestamp=1709741481077, dataType=Unknown, isHistorical=null, isTransient=null, metaData=null, properties=PropertySet [propertyMap={Quality=PropertyValue [type=Int32, value=-2147483129, isNull=false]}], value=null, isNull=true], Metric [name=Instance1/t3Instance, alias=null, timestamp=1709741481187, dataType=Unknown, isHistorical=null, isTransient=null, metaData=null, properties=PropertySet [propertyMap={Quality=PropertyValue [type=Int32, value=-2147483132, isNull=false]}], value=null, isNull=true]], seq=2, uuid=null, body=null]


Delete a child UDT definition member tag (this deletes the Child UDT definition from the parent UDT definition)

Delete TestUDT/t3Instance/t3Tag1

No change at Engine

Tags will need to be deleted at Engine

** SHOULD BE FIXED ** On delete: DDATA message pushed for deleted child instance first setting the quality to Bad_NotFound and second to Bad_Stale

On topic=spBv1.0/G1/DDATA/E1/D1: Incoming payload: SparkplugBPayload [timestamp=1709742807425, metrics=[Metric [name=New Instance/t3Instance/t3Tag1, alias=null, timestamp=1709742806423, dataType=Unknown, isHistorical=null, isTransient=null, metaData=null, properties=PropertySet [propertyMap={Quality=PropertyValue [type=Int32, value=-2147483129, isNull=false]}], value=null, isNull=true], Metric [name=New Instance/t3Instance, alias=null, timestamp=1709742806527, dataType=Unknown, isHistorical=null, isTransient=null, metaData=null, properties=PropertySet [propertyMap={Quality=PropertyValue [type=Int32, value=-2147483132, isNull=false]}], value=null, isNull=true]], seq=2, uuid=null, body=null]

CirrusSparkplugUtil errors with Received invalid payload - trying to decode with legacy decoder

SparkplugBPayloadHandler errors with Unknown/Unsupported data type: Unknown

SparkplugUtils errors with Unsupported MetricDataType Unknown


On Transmission Refresh, folder path and member tags for child UDT instance left unchanged

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

Add Test/UDT/t3Instance as T3

No change at Engine

No refresh required

** SHOULD BE FIXED ** On delete: as shown above

On add: DDATA message with metric

On topic=spBv1.0/G1/DDATA/E1/D1: Incoming payload: SparkplugBPayload [timestamp=1709743372525, metrics=[Metric [name=New Instance/t3Instance/t3Tag1, alias=null, timestamp=1709743371525, dataType=Int32, isHistorical=null, isTransient=null, metaData=null, properties=PropertySet [propertyMap={}], value=null, isNull=true]], seq=4, uuid=null, body=null]

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 as type T3

Add TESTUDT/t3Instance as type T2




On delete: No change at Engine

On add: No change at Engine




** SHOULD BE FIXED **On delete: as shown above

** THIS SHOUDL BE OK ** On add: Error from tags.execution.core

tags.execution.core errors with

Could not locate member '33074b32-be17-441d-b92f-4e1efc8e1a61.91ff3b7a-a073-433c-8d5e-809a1e2aa02a.c67ad783-6098-421c-9f5c-f19e9dd51eec.0bdb6be8-f4fb-4617-a51d-2969fa6ed8a9' in tag 'New Instance'

Could not locate member '33074b32-be17-441d-b92f-4e1efc8e1a61.91ff3b7a-a073-433c-8d5e-809a1e2aa02a.c67ad783-6098-421c-9f5c-f19e9dd51eec' in tag 'New Instance'

Delete tags at Engine before Transmission refresh is performed

New child instance folder path and tags created

Refresh Transmission without deleting tags at Engine

** BUG ** ** SHOUDL BE FIXED ** New child instance tags and additional folder paths created and the original tags remain as quality Good

  • No labels