AnsweredAssumed Answered

OMF v1.1: An AF element template is created for each PI tag

Question asked by Jyotig02 on Sep 22, 2020

Hi, 

 

We have been exploring OMF with PI web API. This results in an AF element template to be created for each PI tag.

 

Message formats are as shown below followed by the screenshots of AF template hierarchy that is being created. 

Need suggestions to avoid this. Or is this expected with OMF. v1.1

 

Type message:

[2020-09-22 13:25:54:584.584624] [OMFPIConnector] [84] [trace] message:: [{"id":"Type_id_PHA12345_Desired Engine Speed","type":"object","classification":"dynamic","properties":{"Time":{"format":"date-time","type":"string","isindex":true},"_PHA12345_Desired Engine Speed":{"format":"float64","type":"number","name":"_PHA12345_Desired Engine Speed","description":"","uom":"rpm"}}}]

[2020-09-22 13:25:55:563.563560] [OMFPIConnector] [84] [trace] Message Sent successfully.. 201

[2020-09-22 13:25:55:563.563674] [OMFPIConnector] [84] [debug] OMFMessageManager: messageID:14 responseCode:201 errorCode:0

 

Container Message:

[2020-09-22 13:25:55:563.563869] [OMFPIConnector] [84] [trace] message:: [{"id":"_PHA12345_Desired Engine Speed","typeid":"Type_id_PHA12345_Desired Engine Speed"}]

[2020-09-22 13:25:55:807.807417] [OMFPIConnector] [84] [trace] Message Sent successfully.. 201

[2020-09-22 13:25:55:807.807471] [OMFPIConnector] [84] [debug] OMFMessageManager: messageID:14 responseCode:201 errorCode:0

 

Link Message:

[2020-09-22 13:25:55:807.807578] [OMFPIConnector] [84] [trace] message:: [{"typeid":"__Link","values":[{"source":{"typeid":"type_A6NX_attributes","index":"PHA12345"},"target":{"containerid":"_PHA12345_Desired Engine Speed"}}]}]

[2020-09-22 13:25:56:137.137867] [OMFPIConnector] [84] [trace] Message Sent successfully.. 201

[2020-09-22 13:25:56:137.137935] [OMFPIConnector] [84] [debug] OMFMessageManager: messageID:14 responseCode:201 errorCode:0

 

Data Message:

[2020-09-22 13:30:26:090.090329] [OMFPIConnector] [84] [trace] message:: [{"containerid":"_PHA12345_Desired Engine Speed","values":[{"Time":"2020-09-22T13:30:26.88Z","_PHA12345_Desired Engine Speed":65535.000000}]}]

 

 

 

Thanks,

Jyoti

Outcomes