Hi there,
I'm trying to call CreatePIPoint of a PIServer object with attributeValues set to a string-object dictionary of 5 attributes. The attributes are as follows:
- tag: TEST_TAG_NEW
- pointtype: Float32
- compmax: 28800
- ptsecurity: piadmins: A(r,w)
- datasecurity: piadmins: A(r)
Note that the pointName parameter of CreatePIPoint is the same as the "tag" attribute (i.e., TEST_TAG_NEW).
When the call is made, an InvalidOperationException is thrown with the following message: "Unexpected behavior. Expected Stream object count of 1. Actual object count (0) was returned." However, the tag is created on the PI server with all attributes in attributeValues being set correctly, even though the exception has been thrown.
I had tried to remove the "tag" attribute, but I'm still getting the same exception and message.
Can anyone help with what could be the cause of this exception, please?
Thank you.
- Riyadh