Namespace of Id BrowseName on custom variables|OPC UA Standard|Forum|OPC Foundation

Avatar
Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
Lost password?
sp_Feed sp_PrintTopic sp_TopicIcon
Namespace of Id BrowseName on custom variables
Avatar
EG
Member
Members
Forum Posts: 35
Member Since:
12/06/2021
sp_UserOfflineSmall Offline
1
03/06/2023 - 02:18
sp_Permalink sp_Print

When exposing a variable in the address space, I thought it would be a good idea want to copy the pattern seen on some OPC UA nodes, so instead of having

Foo (Variable, DataType = X)

I have:

Foo (Variable, DataType = LocalizedText)
Foo.Id (Property, DataType = X)

When I do this, should the BrowseName of Foo.Id be in the OPC UA namespace, or the same namespace as Foo?

Avatar
Randy Armstrong
Admin
Forum Posts: 1564
Member Since:
05/30/2017
sp_UserOfflineSmall Offline
2
03/06/2023 - 03:57
sp_Permalink sp_Print

If you are defining the property it should be in your namespace.

If you used the standard property "ValueAsText" you would use the UA namespace.

i.e.

Foo (Variable, DataType = X)
Foo.ValueAsText (Variable, DataType = LocalizedText)

Forum Timezone: America/Phoenix
Most Users Ever Online: 510
Currently Online:
Guest(s) 31
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Forum Stats:
Groups: 2
Forums: 10
Topics: 1435
Posts: 4855