Update OPC Server from V1.3.6 to V1.4.11

32 views
Skip to first unread message

fjfeld...@googlemail.com

unread,
Apr 29, 2025, 10:50:04 AMApr 29
to open62541
I try to update my running OPC Server from V1.3.6 to V1.4.11 under a embedded Linux system.

I changed some settings that are not handled the same way in both versions. 
But when I start my server  it crashes inside of  initNS0 -> createNS0_base();

It seems that this the last Node that could be added:

 UA_VariableTypeAttributes basevar_attr = UA_VariableTypeAttributes_default;
    basevar_attr.displayName = UA_LOCALIZEDTEXT("", "BaseVariableType");
    basevar_attr.isAbstract = true;
    basevar_attr.valueRank = UA_VALUERANK_ANY;
    basevar_attr.dataType = UA_NS0ID(BASEDATATYPE);
    ret |= ns0_addNode_raw(server, UA_NODECLASS_VARIABLETYPE,
                           UA_NS0ID_BASEVARIABLETYPE, "BaseVariableType",
                           &basevar_attr, &UA_TYPES[UA_TYPES_VARIABLETYPEATTRIBUTES]);

I used following commands to build my system:

cmake -DCMAKE_BUILD_TYPE=MinSizeRel -DUA_NAMESPACE_ZERO=REDUCED -DUA_ENABLE_PUBSUB=1 -DUA_MULTITHREADING=100 -DUA_ENABLE_AMALGAMATION=ON -DUA_ENABLE_ENCRYPTION=ON -DUA_ENABLE_ENCRYPTION_OPENSSL=ON  ..
make open62541-amalgamation
make doc

Regards,
Franz

Reply all
Reply to author
Forward
0 new messages