I am using the PI SDK to create tags. However, the following code snippet throws an exception when I want to create two different tags with the names "foo" and "Foo":
point = _piServer.PIPoints.Add("foo", "classic", PointTypeConstants.pttypString, null);
point = _piServer.PIPoints.Add("Foo", "classic", PointTypeConstants.pttypString, null);
catch (System.Runtime.InteropServices.COMException comExc)
Console.WriteLine(" Warning: " + comExc.Message + " (Code: " + comExc.ErrorCode + ")");
gives me the output:
Warning: Point with this tag name already exists. Foo (Code: -2147220429)
What about having language special characters, like Polish or German letters, in a tag name? Does this work (somehow)?