disconnect
Disconnect client object from OPC server
Syntax
Description
disconnect(Obj)
disconnects the OPC client
object Obj
from the server. Obj
can be an
array of objects.
If the disconnection from the server was successful, the function sets the
Obj
property Status value to
'disconnected'
. You can reconnect Obj
to
the server with the connect
function.
If Obj
is an array of objects and the function cannot
disconnect some of the objects from the server, it disconnects the remaining objects
in the array and issues a warning. If the function can disconnect none of the
objects from their server, it generates an error.
Examples
Version History
Introduced before R2006a