Top | Previous | Next |
system.opc.writeValues |
Description This function is a bulk version of system.opc.writeValue. 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. Syntax system.opc.writeValues(opcServer, itemPaths, values) Parameters 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 |