Avatar

Please consider registering
guest

sp_LogInOut Log In sp_Registration Register

Register | Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_Feed Topic RSS sp_TopicIcon
Value shows Bad_OutOfService (0x808D0000) "The source of the data is not operational."
October 21, 2024
19:24, EEST
Avatar
mithun
Member
Members
Forum Posts: 8
Member Since:
September 11, 2024
sp_UserOfflineSmall Offline

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!!

October 22, 2024
10:23, EEST
Avatar
Matti Siponen
Moderator
Members

Moderators
Forum Posts: 349
Member Since:
February 11, 2020
sp_UserOfflineSmall Offline

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.

October 22, 2024
18:20, EEST
Avatar
mithun
Member
Members
Forum Posts: 8
Member Since:
September 11, 2024
sp_UserOfflineSmall Offline

Yup, you’re right. It was set by my application. Changing it worked.
Thank you!

Forum Timezone: Europe/Helsinki

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, ellis87832073466

Moderators: Jouni Aro: 1026, Pyry: 1, Petri: 0, Bjarne Boström: 1032, Jimmy Ni: 26, Matti Siponen: 349, Lusetti: 0

Administrators: admin: 1