1
Support Questions / ReadRaw Error. Priviledge Violation (ClxDriver 1.2.3.0)
« on: August 20, 2018, 02:52:40 AM »
Hello,
I wrote a small test program to test the functionality of ReadRaw amongst other things.
There are certain instances where attempting a ReadRaw would throw an exception with the text "ReadRaw Error. Privilege Violation". Such an error occurs when attempting to read tags with names "GroupTest" and "AxisTest".
However, if I read individual elements within these structures, such as "Axis_Test.AxisFault" or "Axis_Test.JogStatus" using the Read method, I am able to read the data without issue.
Can someone explain to me why "Priviledge Violation" appears when I attempt to read the entire contents of the structure? Also, is there some kind of attribute or property which I can access to prevent such an action (so I don't have to catch these exceptions)?
Thank you!
I wrote a small test program to test the functionality of ReadRaw amongst other things.
There are certain instances where attempting a ReadRaw would throw an exception with the text "ReadRaw Error. Privilege Violation". Such an error occurs when attempting to read tags with names "GroupTest" and "AxisTest".
However, if I read individual elements within these structures, such as "Axis_Test.AxisFault" or "Axis_Test.JogStatus" using the Read method, I am able to read the data without issue.
Can someone explain to me why "Priviledge Violation" appears when I attempt to read the entire contents of the structure? Also, is there some kind of attribute or property which I can access to prevent such an action (so I don't have to catch these exceptions)?
Thank you!