Closed ShiddhamSharma closed 1 year ago
So Parsing it as:
NodeId.Parse("ns=3;s=\"Alarms\".\"Data\"[2].\"Message\"")
solved it
Great! I am glad it’s working.
From: ShiddhamSharma @.> Sent: Friday, November 17, 2023 3:35:49 AM To: convertersystems/opc-ua-client @.> Cc: Subscribed @.***> Subject: Re: [convertersystems/opc-ua-client] Empty Value from a node from Siemens PLC (Issue #262)
So Parsing it as: NodeId.Parse("ns=3;s=\"Alarms\".\"Data\"[2].\"Message\"") solved it
— Reply to this email directly, view it on GitHubhttps://github.com/convertersystems/opc-ua-client/issues/262#issuecomment-1815939652, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AC2ZNGWYVCNXQMBKI4K3G4DYE4OWLAVCNFSM6AAAAAA7PNLZGWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMJVHEZTSNRVGI. You are receiving this because you are subscribed to this thread.Message ID: @.***>
Hi, I am trying to read and write a value from a tag in my PLC. Now I have tried opcua in python and am able to read and write the node but when I try opc-ua-client i am receivng empty values. I don't understand the issue but it might be because I am giving wrong Node ID. The C# code:
My Python Code:
node = client.get_node('''ns=3;s="Alarms"."Data"[2]."Message"''')