disconnect
Disconnect client object from OPC server
Syntax
Description
disconnect(
disconnects the OPC client object obj
)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
Input Arguments
Version History
Introduced before R2006a