Skip to content

Python Core API ziDiscovery

zhinst.core.ziDiscovery()

Class to find devices and get their connectivity properties.

find(dev)

Return the device id for a given device address.

Parameters:

Name Type Description Default
dev str

Device address string e.g. UHF-DEV2000.

required

Returns:

Type Description
str

Device id.

findAll()

Return a list of all discoverable devices.

Returns:

Type Description
List[str]

List of all discoverable devices.

get(dev)

Return the device properties for a given device id.

Parameters:

Name Type Description Default
dev str

Device id string e.g. DEV2000.

required

Returns:

Type Description
Dict[str, LabOneResultAny]

Device properties.

setDebugLevel(severity)

Set debug level.

Parameters:

Name Type Description Default
severity Literal[0, 1, 2, 3, 4, 5, 6]

debug level.

required