Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Accessing Custom Array using asyncua or opcua python from OPC server #1447

Open
anoop1702 opened this issue Mar 14, 2022 · 0 comments
Open

Comments

@anoop1702
Copy link

Hello,
I am new to OPC UA and read most of the documents and issues here. But i am not able to find out How to access Array from OPC Client.
I have 3 problems.

  1. If I use Python library opcua then i can not access my node using client.get_node('ns=10;s="192.168.120.2,0,0."p_parameter')
    if my node id contains double quotes opcua throws exception. To solve this i used asyncua then the above part works but i can use get_data_values and some other functions. so is there any way that i can make both work while having access to lower class as well?

  2. When i try to use get_value() to access array i get error saying the node attribute does not support this.
    I tried Printing the type(get_value()) it says Class List.
    The array is length of 10 and in each it has array of 18 . ex: arr1[a1[],a2[],a3[],...10]
    Can anyone help me how to access these values?

  3. I subscribe to an node after some time it says BadToomanysubscription. What does that means?

any suggestions is much appreciated. Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant