# Lgnition opc-ua server

**URL:** <https://forum.inductiveautomation.com/t/lgnition-opc-ua-server/11670>\
**Category:** Ignition\
**Created:** [May 16, 2016, 2:12pm UTC](https://forum.inductiveautomation.com/t/lgnition-opc-ua-server/11670 "2016-05-16T14:12:41Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![codersmurf](https://avatars.discourse-cdn.com/v4/letter/c/df788c/32.png) [@codersmurf](https://forum.inductiveautomation.com/u/codersmurf)\
**Post date:** [May 16, 2016, 2:12pm UTC](https://forum.inductiveautomation.com/t/lgnition-opc-ua-server/11670/1 "2016-05-16T14:12:41Z")

</div>

I’m trying to deal with tags from disabled devices or ones where we have lost comm. I’m using the freeopcua library in c++ to communicate with the ignition opc server. The subscription doesn’t seem to get any callbacks for status changes. When using the python calls within the vision module everything is tops, but externally I have been having problems. Any thoughts?

Thanks

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [May 16, 2016, 2:20pm UTC](https://forum.inductiveautomation.com/t/lgnition-opc-ua-server/11670/2 "2016-05-16T14:20:02Z")

</div>

I’m sorry I don’t quite understand what you’re asking here - are you saying you don’t get a value change event when the quality of an item goes from good to bad?

---

<div class="post-metadata">

**Author:** ![codersmurf](https://avatars.discourse-cdn.com/v4/letter/c/df788c/32.png) [@codersmurf](https://forum.inductiveautomation.com/u/codersmurf)\
**Post date:** [May 16, 2016, 2:34pm UTC](https://forum.inductiveautomation.com/t/lgnition-opc-ua-server/11670/3 "2016-05-16T14:34:16Z")

</div>

Precisely, when the quality changes I don’t seem to be alerted to it.

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [May 16, 2016, 3:20pm UTC](https://forum.inductiveautomation.com/t/lgnition-opc-ua-server/11670/4 "2016-05-16T15:20:01Z")

</div>

Is your data change trigger set to value and status code?

---

<div class="post-metadata">

**Author:** ![codersmurf](https://avatars.discourse-cdn.com/v4/letter/c/df788c/32.png) [@codersmurf](https://forum.inductiveautomation.com/u/codersmurf)\
**Post date:** [May 16, 2016, 7:36pm UTC](https://forum.inductiveautomation.com/t/lgnition-opc-ua-server/11670/5 "2016-05-16T19:36:29Z")

</div>

I’ve overwritten both the status change and data value change functions, the attribute doesn’t have a value for both data value and status.

---

<div class="post-metadata">

**Author:** ![codersmurf](https://avatars.discourse-cdn.com/v4/letter/c/df788c/32.png) [@codersmurf](https://forum.inductiveautomation.com/u/codersmurf)\
**Post date:** [May 16, 2016, 8:58pm UTC](https://forum.inductiveautomation.com/t/lgnition-opc-ua-server/11670/6 "2016-05-16T20:58:14Z")

</div>

nm, I’ve figured out a way around it, either this library is in serious need of tlc or I’m just seriously using it wrong. So I need to override StatusChange, DataChange and DataValueChange(this being a combo of data and quality). I then need to handle all to make sure I get enough callbacks to make things function. If anyone has any other ideas let me know, but I’ve gotten something workable out of it. Thanks for the help.

---

<div class="post-metadata">

**Author:** ![codersmurf](https://avatars.discourse-cdn.com/v4/letter/c/df788c/32.png) [@codersmurf](https://forum.inductiveautomation.com/u/codersmurf)\
**Post date:** [May 16, 2016, 9:41pm UTC](https://forum.inductiveautomation.com/t/lgnition-opc-ua-server/11670/7 "2016-05-16T21:41:15Z")

</div>

nm my nm, it’s still happening, verbose logging was hiding the issue, so I’m still having issues. You said there was an official opc-ua cpp library, perhaps that will fix all these issues.
