afiset

SetValue and UOM Conversion

Discussion created by afiset Employee on Jul 16, 2010
Latest reply on Jul 19, 2010 by hanyong

Lets say I have an AF atttribute configured with the degrees celsius UOM. If users are writing to this attribute with different UOM, one writes 32 Celsius and another one writes 96 Farenheit, how can this be handled? I notice there's a UOM parameter you can passed to the AFAttribute.SetValue method. Is this it? When will the conversion happened? For a PI Point DR, will the 96 Farenheit value be converted to 35.56 Celsius before it is archived in the PI point? For a staic attribute with no data reference, will that value show up as 35.56 Celsius.

Outcomes