wpribula

Create PI Point with custom UOM stored in the Attribute in a Template

Blog Post created by wpribula on Apr 8, 2016

I just found tricky issue.

Imagine that you have template in the AF. Something like this:

And you want to create this PI Point from AF with custom UOM stored in the UOM_name attribute.

You probably would like to use similar string: Tag_name;UOM=%@UOM_name%

But this is not working, because UOM=xxx is overwrite by UOM configuration parameter after you create an element from this template.

So in the element the UOM=xxx is missing.

 

What to do?

Create ne UOM in the PSE with %@UOM_name% as name:

And now you can use this as UOM for your tag:

Simple and working solution.

Outcomes