system.opc.writeValue

Is there an module example of an equivalent to this command:

system.opc.writeValue(‘Ignition OPC-UA Server’,myTagPath, myNewValue)

(and the corresponding read command)

I’m not looking to create tags in Ignition and write them. I want to write/read directly to the plc addresses using the Ignition OPC-UA server and PLC device. I’ve seen the module example code for the simple tag provider and such, but it doesn’t seem to cover exactly what I’m looking for.

Thanks!

Use the read and write methods on the OPCManager you get from GatewayContext.