UA_Client_connect_username(client, "opc.tcp://tango.wst.univie.ac.at:9200","OpcUaClient","SUNRISE"); StalderT commented on Mar 30, 2018 StalderT on Mar 30, 2018 Contributor Just to make a test. Can you try to change here : https://github.com/open62541/open62541/blob/master/pl...
@@ -443,7 +443,7 @@ void ServerConnection::configureClient() { bool ServerConnection::connect() { UA_StatusCode status; if (useAuthentication) { status = UA_Client_connect_username(client, endpointUrl.c_str(), status = UA_Client_connectUsername(client, endpointUrl.c_str(), username.c...
#include<stdio.h>#include<open62541/client.h>#include<open62541/client_highlevel.h>intmain(intargc,char*argv[]){/* Create a client and connect */UA_Client *client = UA_Client_new(); UA_ClientConfig_setDefault(UA_Client_getConfig(client)); UA_StatusCode status = UA_Client_connect(clien...
Ua 专家是一个跨平台 OPC UA 测试客户端,在C++编程。它使用先进的GUI库QT形式诺基亚(原特罗尔技术)...
myUrl.setUserName(“OpcUaClient”); myUrl.setPassword(“Password2018”); mOpcUaClient->connectToEndpoint(myUrl);“` not being sure if the order of setting QUrl matters. Result: https://www2.pic-upload.de/img/35931415/opcua1.png . ...
Ua 专家是一个跨平台 OPC UA 测试客户端,在C++编程。它使用先进的GUI库QT形式诺基亚(原特罗尔技术)...
{ /* Create a client and connect */ UA_Client *client = UA_Client_new(); UA_ClientConfig_setDefault(UA_Client_getConfig(client)); UA_StatusCode status = UA_Client_connect(client, "opc.tcp://localhost:4840"); if(status != UA_STATUSCODE_GOOD) { UA_Client_delete(client); return ...
can not make use the fuction UA_Client_connect_username(client, "opc.tcp://190.1.1.2:412",name,secret); always can not connected with server. using open62541.c/h in project... is there any bug in the library? anyone can help me ?please! so urge!! Checklist Please provide the follow...
user/pass. UA_Client_connect_username(client, "opc.tcp://tango.wst.univie.ac.at:9200","OpcUaClient","SUNRISE"); Please not that the changes discussed in#1702are not yet committed, the proposed change has to be done by hand before this report can be reproduced. ...
{ /* Create a client and connect */ UA_Client *client = UA_Client_new(UA_ClientConfig_default); UA_StatusCode status = UA_Client_connect(client, "opc.tcp://localhost:4840"); if(status != UA_STATUSCODE_GOOD) { UA_Client_delete(client); return status; } /* Read the value ...