api_server_version_check#

api_server_version_check(daq: ziDAQServer) bool[source]#

Check the consistency of the used version in the LabOne stack.

Issue a warning and return False if the release version of the API used in the session (daq) does not have the same release version as the Data Server (that the API is connected to). If the versions match return True.

Parameters:

daq (ziDAQServer) – An instance of the ziPython.ziDAQServer class (representing an API session connected to a Data Server).

Returns:

Flag if the Versions of API and Data Server match.

Raises:

Warning – If the Versions of API and Data Server do not match.

Return type:

bool