Compression is a property of the PI Point and it is typically "set" when the PI Point is created. Can you better explain what you're trying to do? Do you have an existing PI Point that you want to turn off compression? Or do you want to create a new PI Point from within PI System Explorer and you want to configure the PI Point compression to "off"? (I'm assuming you're using PSE as you're speaking about configstrings.) If I'm mistaken, please correct me.
Thanks Steve. Yes, I want to turn off compression for a given PI Point through AF SDK during PI Point creation with AFAttribute.DataReference.ConfigString to be exact. And the config String will be stored in Template/Attribute selectively ( that's how I create my new element in code)
No, I don't want to turn off compression for existing PI Points.
Hope this help.
According to PI AF User Guide, the attribute names used are those shown in the PI SDK documentation. Looking at LiveLib: livelibrary.osisoft.com/.../GUID-4E8FF925-6D5A-4F53-BA2E-8F1B377EA4E3 the point attribute 'compressing' should store this value.
Thus to turn compression off, you should use 'Compressing=false'.
Did not test though, do not have access to Dev system at this moment.
Chew Chee LimThanks Steve. Yes, I want to turn off compression for a given PI Point through AF SDK during PI Point creation with AFAttribute.DataReference.ConfigString to be exact. And the config String will be stored in Template/Attribute selectively ( that's how I create my new element in code)
In PI System Explorer, if you were to create an element template, with a PI Point DR attribute template, you are given the opportunity to create the PI Points.
If you select the [...] to get into the tag creation settings dialog box, you can turn off Compression for any PI Points that would be created when an element is instantiated from the template.
After you hit OK, you would see the follow configstring.
In short, all you need to do is add "compressing=0" into the configstring to turn off Compression. In this way, you can experiment with PSE to figure out how to use configstring to affect the PI Point attributes. This information is also available in the PI System Explorer user guide.
Hope this helps.
Nice! Thanks Steve and Roger. You guys have been very helpful. I know how to figure out other PI Point attributes.
Retrieving data ...