Intermittent event display in UA Expert

13 views
Skip to first unread message

maiano guillaume

unread,
Feb 11, 2025, 3:47:49 AM2/11/25
to open62541
I have a set of nodes I access via numeric IDs, such as "bananaTree1", "bananaTree2", which would be built as, say, "ns=0;i=50898[]", and a browseName of "1,BananaTree1".

I then would connect a method pickBananas taking a ua:Int16 value, for example, identified similarly: "ns=0;i=50942[]" with a browseName of "2,pickBananas".

I've elected to set the browseNames of nodes on namespace 1 and the browseNames of actions, events and variables on namespace 2 for clarity when reading through logs, as I understand it does not have functional impacts.

I expect my events to display in the UA Expert Events window, but it's quite unpredictable. Sometimes they will add fine and display when they're fired, and sometimes this will fail with log errors of the form Item [NS0|Numeric|50949] failed [ret = BadAttributeIdInvalid], despite possibly simultaneously displaying in Python scripts (or the opposite behavior).

As far as I can tell from looking at attributes with the UA Expert exploration tools,   the only missing attributes would be rolepermissions, userrolepermissions, accessrolerestrictions, which I believe is irrelevant on my anonymous access server, especially since "New attributes in the standard that are still unsupported in open62541 are RolePermissions, UserRolePermissions, AccessRestrictions and AccessLevelEx.", as per the documentation.

I'm stumped as to what could explain the behavior. Is UA_Expert sometimes automatically fixing a problem of mine? Is my code misbehaving randomly? Am I wrong to mix BrowseNames on several namespaces? 

Does anyone have experience with this? If it's not an obvious issue, I'll build a small example of my problem.

Capture d'écran 2025-02-11 091826.png
Reply all
Reply to author
Forward
0 new messages