Connection#
- class Connection(*args, **kwargs)[source]#
Bases:
ProtocolProtocol class for the connection used in the nodetree.
Every connection object used in the Nodetree is expected to have at least this interface in order to work with the Nodetree.
Methods
get(path, *args, **kwargs)Mirrors the behavior of zhinst.core
getcommand.getDouble(path)Mirrors the behavior of zhinst.core
getDoublecommand.getInt(path)Mirrors the behavior of zhinst.core
getIntcommand.getString(path)Mirrors the behavior of zhinst.core
getDoublecommand.listNodesJSON(path, *args, **kwargs)Returns a list of nodes with description found at the specified path.
set()Mirrors the behavior of zhinst.core
setcommand.subscribe(path)Mirrors the behavior of zhinst.core
subscribecommand.unsubscribe(path)Mirrors the behavior of zhinst.core
unsubscribecommand.