--- title: "system.opc.writeValues" description: "This function is a bulk version of system.opc.writeValue." --- # system.opc.writeValues > This function is a bulk version of system.opc.writeValue. This function is used in **Python Scripting**. ## Description This function is a bulk version of [system.opc.writeValue](system-opc-writeValue.md). It takes a list of addresses and a list of objects, which must be the same length. It will write the corresponding object to the corresponding address in bulk. It will return a list of status codes representing the individual write success or failure for each corresponding address. ## Client Permission Restrictions [Permission Type](projects\project-properties\project-properties.md#client---permissions):: OPC Server Management Client access to this scripting function is blocked to users that do not meet the role/zone requirements for the above permission type. This function is unaffected when run in the Gateway scope. ## Syntax `system.opc.writeValues(opcServer, itemPaths, values)` ### Parameters |Type|Parameter|Description| |--|--|--| |String |`opcServer` | The name of the OPC server connection in which the items reside.| |String[]| `itemPaths`| A list of item paths, or addresses, to write to.| |Object[]| `values` | A list of values to write to each address specified.| ### Returns **Quality[]** - An array of Quality objects, each entry corresponding in order to the addresses specified. ### Scope All