11:32, EEST
June 21, 2021
Hello,
I try uaClient.writeAttribute(nodeId,Attributes.Value,myValue) but i got this error
com.prosysopc.ua.StatusException: Bad_NotWritable (0x803B0000) “The access level does not allow writing to the Node.” StatusCode=Bad_NotWritable (0x803B0000) “The access level does not allow writing to the Node.”
11:53, EEST
Moderators
February 11, 2020
Hello,
StatusCode Bad_NotWritable means that the user isn’t allowed to write the Value of the specified Node. The Server might allow another user to write the Value, but it could also not allow any users to write it.
Please, check the AccessLevel and UserAccessLevel Attributes of the Nodes. If they contain the CurrentWrite flag, then writing the Value of the Node is allowed. Otherwise, writing it is not allowed.
16:17, EEST
Moderators
February 1, 2019
18:35, EEST
June 21, 2021
Hello,
I try myNode.setAccessLevel(AccessLevelType.CurrentWrite) and myNode.setUserAccessLevel(AccessLevelType.CurrentWrite)
but i still get the error :com.prosysopc.ua.StatusException: Bad_TypeMismatch (0x80740000) “The value supplied for the attribute is not of the same type as the attribute’s value.” StatusCode=Bad_TypeMismatch (0x80740000) “The value supplied for the attribute is not of the same type as the attribute’s value.”
9:29, EEST
Moderators
February 11, 2020
Hello,
As the name of the StatusCode suggests there has been a mismatch of data types. This StatusCode is returned by Write Service when attempting to Write a value with DataType that isn’t the same or a subtype of the target Attribute’s DataType. Verify that the value you’re attempting to write has a proper DataType. See https://reference.opcfoundation.org/Core/docs/Part4/5.10.4/ for more information on the Write Service.
Most Users Ever Online: 518
Currently Online:
25 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
hbrackel: 135
pramanj: 86
Francesco Zambon: 81
rocket science: 77
ibrahim: 76
Sabari: 62
kapsl: 57
gjevremovic: 49
Xavier: 43
fred: 41
Member Stats:
Guest Posters: 0
Members: 680
Moderators: 16
Admins: 1
Forum Stats:
Groups: 3
Forums: 15
Topics: 1467
Posts: 6260
Newest Members:
sagarchau, elviralangwell4, Donnavek, Eddiefauth, DonaldPooma, fidelduke938316, Jan-Pfizer, DavidROunc, fen.pang@woodside.com, aytuleModerators: Jouni Aro: 1009, Otso Palonen: 32, Tuomas Hiltunen: 5, Pyry: 1, Petri: 0, Bjarne Boström: 983, Heikki Tahvanainen: 402, Jukka Asikainen: 1, moldzh08: 0, Jimmy Ni: 26, Teppo Uimonen: 21, Markus Johansson: 42, Niklas Nurminen: 0, Matti Siponen: 321, Lusetti: 0, Ari-Pekka Soikkeli: 5
Administrators: admin: 1