get_result_logger_data#

get_result_logger_data(daq, device_id, channel_index, *, mode, timeout=1.0)[source]#

Return the measured data of a specified result logger.

Blocks until the specified result logger is finished.

Parameters
  • daq (ziDAQServer) – Instance of a Zurich Instruments API session connected to a Data Server. The device with identifier device_id is assumed to already be connected to this instance.

  • device_id (str) – SHFQA device identifier, e.g. dev12004 or ‘shf-dev12004’.

  • channel_index (int) – Index specifying which result logger to query results from - there is one result logger per channel.

  • mode (str) – Select between “spectroscopy” and “readout” mode.

  • timeout (float) – Maximum time to wait for data in seconds.

Return type

array

Returns

Array containing the result logger data.