19:24, EEST
September 11, 2024
Hello,
I am trying to implement an OPCUA server using the java SDK. I am able to set the point’s EURange and EngineeringUnits correctly using the
AnalogItemType.setEngineeringUnits and AnalogItemType.setEURange functions.
However, when I browse the points in OPC UA Browser I see the value being shown as Bad_OutOfService (0x808D0000) “The source of the data is not operational.”. If I expand the value I see the correct values set but it does not show it on the top level.
See screenshots:
https://gcdnb.pbrd.co/images/K58gMxYAG5xB.png?o=1
https://gcdnb.pbrd.co/images/1vAamKqCHfCs.png?o=1
How do I set the EngineeringUnits and EURange so that the value displays correctly for these properties?
Any help would be appreciated. Thank you!!
10:23, EEST
Moderators
February 11, 2020
Hello,
The SDK does not internally use StatusCode Bad_OutOfService, at least not in the latest version 5.2.6. If you update the SDK to this version and still receive this StatusCode, then the error is most likely in your code.
Note, that older version of SDK samples might have used this StatusCode. If you have copied code from the samples to your Server, you might have copied parts that use that StatusCode. Thus, it is recommended for you to check your code for references to StatusCode Bad_OutOfService.
Most Users Ever Online: 1919
Currently Online:
7 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Heikki Tahvanainen: 402
hbrackel: 144
rocket science: 88
pramanj: 86
Francesco Zambon: 83
Ibrahim: 78
Sabari: 62
kapsl: 57
gjevremovic: 49
Xavier: 43
Member Stats:
Guest Posters: 0
Members: 731
Moderators: 7
Admins: 1
Forum Stats:
Groups: 3
Forums: 15
Topics: 1529
Posts: 6471
Newest Members:
inilarythikibia, rickykennion, PromotionToold, HypromeImpupe, toneylapham544, rondawolinski7, Marypof5711, roycedelargie91, kourtneyquisenbe, ellis87832073466Moderators: Jouni Aro: 1026, Pyry: 1, Petri: 0, Bjarne Boström: 1032, Jimmy Ni: 26, Matti Siponen: 349, Lusetti: 0
Administrators: admin: 1