locka99 / opcua

A client and server implementation of the OPC UA specification written in Rust
Mozilla Public License 2.0
515 stars 140 forks source link

Reading values #376

Open gxcora opened 3 months ago

gxcora commented 3 months ago

Thank you for creating this repo. It is very useful. I have an issue as follows:

I created my own OPCUA test server (using this repo), and can browse the namespace using your client. However, when I try to read the values, I cannot do that. Either by using session.read or by the subscription example you provided: https://docs.rs/opcua-client/latest/opcua_client/. The error returns are not helpful. The weird thing is I can read the variables using the Python module: https://python-opcua.readthedocs.io/en/latest/ Do you have an example of a non-subscription based value red?

Thanks again

G

einarmo commented 3 months ago

You should provide log output, and a sample of your code trying to read, otherwise it's very hard to help you.