I am new to PI SDK development and currently struggling with adding an AttributeSet to the known sets of a server. The following code snipped I tried throws an exception:
NamedValues myAttributes = new NamedValues();
object nodePath = new object();
btcAttributes.Add("path", ref nodePath);
AttributeSets attributeSets = _server.AttributeSets;
I want to be able to add a path property to each PI point, which can later be accessed...
Can anyone please help?
(btw. how can I indent the code snipped correctly?)