freeopcua python,无法调用方法

freeopcua python, unable to call method

我正在尝试调用 opcua 服务器上的方法,方法在里面:

对象 -> 命令 -> 文件管理

从下图可以看得更清楚

tree opcua

我正在使用此代码调用它

root = client.get_root_node()
command = root.get_child(["0:Objects", "0:Commands"])
filem = command.get_child("0:FileManagement")
method = filem.get_child("0:LoadFile")
argument = [ua.Variant("S:\filetoload.txt",ua.VariantType.String)]

res = filem.call_method(method, *argument)

但我收到此错误:(2147483648,) 我认为这只是糟糕的结果

该方法只有一个参数

试试 "S:\filetoload.txt" 而不是 "S:\filetoload.txt" ?