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 Literal[0, 1, 4, 5, 6]

API level number.

required

Properties

api_level: Literal[0, 1, 4, 5, 6] 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

  • LabOneResultAny: TypeAlias = Any module-attribute
  • LabOneResultNested: TypeAlias = Dict[str, Union[LabOneResultNested, LabOneResultAny]] module-attribute