BadNodeIdUnknown error on custom function call

Questions regarding the use of the UaExpert.

Moderator: uaexpert

Post Reply
znikola
Jr. Member
Jr. Member
Posts: 1
Joined: 02 Jan 2018, 13:45

BadNodeIdUnknown error on custom function call

Post by znikola »

Hello.
I'm not sure if this issue belongs in UaModeler or in C++ sdk section,but the error message is in UaExpert, so I'm putting it here.

I'm trying to create a simple "full stack" example using UaModeler. C++ sdk and UaExpert. I have followed the instructions from UaModeler documentation to the letter:
unifiedautomation/uamodeler/doc/html/howprojlin_sec.html
unifiedautomation/uamodeler/doc/html/howgenlin_sec.html

I have managed to generate the code using UaModeler, modify the code, build the example(server Hello world), start UaExpert, start the modified server application and connect the UaExpert to the server.
Everything looks fine with my new custom Base object type, it is visible, and I can call the method from the object. I created a simple method which takes two Int32 numbers as an input and multiplies them.

The problem arises when I call the method and insert two input values, after clicking on call button, I get BadNodeIdUnknown error.

PS:
I have tried the same procedure with ANSI C SDK and I had no problems.


Thanks upfront
Nikola Zivanovic

Post Reply