Skip to content

Python Core API ziDAQServer

zhinst.core.ziDAQServer(host, port, api_level)

Class to connect with a Zurich Instruments data server.

Parameters:

Name Type Description Default
host str

Host string e.g. '127.0.0.1' for localhost

required
port int

Port number e.g. 8004 for the ziDataServer.

required
api_level _APILevel

API level number.

required

Properties

api_level: _APILevel property

The ziAPI level used for the active connection.

.. versionadded:: 22.08

host: str property

The host used for the active connection.

.. versionadded:: 22.08

port: int property

The port used for the active connection.

.. versionadded:: 22.08

Type Definitions

  • _VectorTypes = Union[int, float, complex] module-attribute
  • _Vector = Union[np.ndarray, List[_VectorTypes], Tuple[_VectorTypes, ...], str] module-attribute
  • _PollReturnFlatTrue = Dict[str, Dict[str, Any]] module-attribute
  • _PollReturnFlatFalse = Dict[str, Dict[str, _PollReturnFlatTrue]] module-attribute
  • _DeviceInterface = Literal['USB', 'PCIe', '1GbE'] module-attribute
  • _LogStyle = Literal[0, 1, 2] module-attribute
  • _DebugLevel = Literal[0, 1, 2, 3, 4, 5, 6] module-attribute
  • _APILevel = Literal[0, 1, 4, 5, 6] module-attribute
  • _MultipleNodeItems = Union[List[Tuple[str, Any]], Tuple[Tuple[str, Any]]] module-attribute
  • _NodePath = str module-attribute
  • _MultipleNodePaths = List[_NodePath] module-attribute
  • _SingleOrMultipleNodePaths = Union[_NodePath, _MultipleNodePaths] module-attribute