cw.ng

How can I set multiple datagroups/point groups including the access right in .NET code?

Discussion created by cw.ng on Mar 26, 2012
Latest reply on Mar 26, 2012 by mhamel

Hi,

 

Can you give some advise on setting multiple datagroups/point groups including the access right in .NET code?

 

The following doesn't work.

 

            oPISRV.PIPoints("test").PointAttributes.ReadOnly = False
            oPISRV.PIPoints("test").PointAttributes.Item("DataGroup").Value = "data_owner_lvms: A(r,w) | PI_LVMS: A(r) | LVMS_Data_ReadOnly: A(r) | LVMS_Data_ReadWrite: A(r,w) | PIWorld: A()"
            oPISRV.PIPoints("test").PointAttributes.ReadOnly = True

 

Please advise.

 

 

Outcomes