Abnormal termination in generated source code

Questions regarding the use of UaModeler

Moderator: uamodeler

Post Reply
manakamu
Sr. Member
Sr. Member
Posts: 10
Joined: 13 Dec 2018, 02:08

Abnormal termination in generated source code

Post by manakamu »

I want to make a EUROMAP77 Server.
I downloaded the Euromap base models and add the XML files(EUROMAP77 and EUROMAP83) to a UaModeler project.
I generated the source code for C++ SDK by UaModeler.

My server result in abnormal termination at TemperatureZoneTypeBase::createType() which is generated by UaModeler.

TemperatureZoneTypeBase::createType()

Code: Select all

s_pActialTemperaure = new OpcUa::AnalogItemType(pChild, &factory, pTypeNodeConfig, NULL);
AnalogItem constructor calls InstanceFacotryEM83::createVariable() which is generated by UaModeler.
InstanceFacotryEM83::createVariable() always returns NULL.

AnalogItem constructor calls setModellingRuleId() from this NULL pointer and ends abnormally.
What is wrong? What can I do for this problem?

Best regards

manakamu
Sr. Member
Sr. Member
Posts: 10
Joined: 13 Dec 2018, 02:08

Re: Abnormal termination in generated source code

Post by manakamu »

Resolved.
I have made a mistake in creating UaModeler project.

Post Reply