gopcua / opcua

Native Go OPC-UA library
MIT License
829 stars 253 forks source link

Call has no InputArguments #696

Closed jwzl closed 8 months ago

jwzl commented 8 months ago

hello, I want to call Call() without args, but it always failed, The client did not specify all of the input arguments for the method. StatusBadArgumentsMissing
req := &ua.CallMethodRequest{ ObjectID: id, MethodID: mid, InputArguments: inputArgs, } resp, err := c.Client.Call(c.Ctx, req) how can I set the InputArguments when it without args? thanks!

Best Regards Qing