Create Enumeration object|OPC UA Implementation: Stacks, Tools, and Samples|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
Create Enumeration object
Avatar
Deepali Ahirrao
Member
Members
Forum Posts: 25
Member Since:
08/16/2019
sp_UserOfflineSmall Offline
1
12/05/2019 - 09:15
sp_Permalink sp_Print

We have a java based client that uses opc-ua-stack-1.4.1.jar. I am trying to test a method (EnumTest present in Unified automation server) that takes Enums (Priority and HeaterStatus) as input parameters. I want to call this method by passing value say 0 and 40. How do I form the Enumeration object that can be passed as parameter to this method?

Avatar
Randy Armstrong
Admin
Forum Posts: 1564
Member Since:
05/30/2017
sp_UserOfflineSmall Offline
2
12/05/2019 - 13:09
sp_Permalink sp_Print

Enumeration values are passed as Int32 values.

Avatar
Deepali Ahirrao
Member
Members
Forum Posts: 25
Member Since:
08/16/2019
sp_UserOfflineSmall Offline
3
12/06/2019 - 08:01
sp_Permalink sp_Print

Okay, thanks.

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