如何查看uaexpert中添加的open62541参数?

问题描述

我将其发布在这里,是因为我坚信这不是一个错误,这只是我的测试配置未正确设置,但是我无法对自己做错的事情有所了解。 / p>

我安装了单个文件发行版: https://open62541.org/releases/

以及open62541的构建环境,然后构建并运行本教程: https://github.com/open62541/open62541/blob/master/examples/tutorial_server_variable.c

使用以下命令:

gcc -std=c99 open62541.c myServerTuturial.c -o myServerTuturial
./myServerTuturial

但是,当我使用匿名登录名与UA Expert连接时,无法在该示例中看到任何添加的变量。我确实看到了,并且能够订阅几个默认服务器参数。非常感谢任何可以解释为什么我看不到变量的人。我相信它们应该出现在左窗格导航器的“对象”文件夹下。

ua expert screenshot

ua专家是1.4.4 275版

这是服务器的控制台输出:

[2020-09-15 13:14:03.091 (UTC-0700)] warn/server    AccessControl: Unconfigured 
AccessControl. Users have all permissions.
[2020-09-15 13:14:03.091 (UTC-0700)] info/server    AccessControl: Anonymous login is enabled
[2020-09-15 13:14:03.091 (UTC-0700)] warn/server    Username/Password configured,but no encrypting SecurityPolicy. This can leak credentials on the network.
[2020-09-15 13:14:03.091 (UTC-0700)] warn/userland  AcceptAll Certificate Verification. Any remote certificate will be accepted.
Writing a string returned statuscode BadNodeIdUnknown
[2020-09-15 13:14:03.091 (UTC-0700)] info/network   TCP network layer listening on opc.tcp://jchan-Z170N:4840/
[2020-09-15 13:14:03.328 (UTC-0700)] info/network   Connection 5 | New connection over TCP from 127.0.0.1
[2020-09-15 13:14:03.328 (UTC-0700)] info/channel   Connection 5 | SecureChannel 1 | SecureChannel opened with SecurityPolicy http://opcfoundation.org/UA/SecurityPolicy#None and a revised lifetime of 600.00s
[2020-09-15 13:14:03.329 (UTC-0700)] warn/channel   Connection 5 | SecureChannel 1 | ActivateSession: Session not found
[2020-09-15 13:14:03.330 (UTC-0700)] info/channel   Connection 5 | SecureChannel 1 | Session 6378a196-2473-375e-ed2e-0250fdff8f98 created
[2020-09-15 13:14:03.346 (UTC-0700)] info/session   SecureChannel 1 | Session ns=1;g=6378a196-2473-375e-ed2e-0250fdff8f98 | Subscription 1 | Created the Subscription with a publishing interval of 500.00 ms
[2020-09-15 13:21:33.338 (UTC-0700)] info/channel   Connection 5 | SecureChannel 1 | SecureChannel renewed with a revised lifetime of 600.00s
[2020-09-15 13:29:03.344 (UTC-0700)] info/channel   Connection 5 | SecureChannel 1 | SecureChannel renewed with a revised lifetime of 600.00s

解决方法

确定要连接到正确的服务器应用程序吗?

当我开始提到的示例时,我得到了预期的结果。请参见下面的屏幕截图。

enter image description here

相关问答

错误1:Request method ‘DELETE‘ not supported 错误还原:...
错误1:启动docker镜像时报错:Error response from daemon:...
错误1:private field ‘xxx‘ is never assigned 按Alt...
报错如下,通过源不能下载,最后警告pip需升级版本 Requirem...