Scilab Function
Last update : September 2006

opc_write - Write OPC Item Value to OPC Server

### Calling Sequence

  `B=call('opc_write',A,1,'i',B,2,'r','out')`

### Parameters

- `A`: the index of opc items to be write
- B: the items value to be write

### Description

this function is to write OPC item value to OPC group.

### Examples

    A=2

    B=12.3

    call('opc_write',A,1,'i',B,2,'r','out')

### See Also

`opc_connect`, `opc_disconnect`, opc_add_group,opc_add_item, opc_read, copy_item

### Author

`Developed by Zhe Peng, Longhua Ma.`