configure_result_logger_for_readout(daq: ziDAQServer, device_id: str, channel_index: int, *, result_source: str, result_length: int, num_averages: int = 1, averaging_mode: int = 0) None[source]#

Configures a specified result logger for readout mode.

  • 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 configure - there is one result logger per channel.

  • result_source (str) – String-based tag to select the result source in readout mode, e.g. “result_of_integration” or “result_of_discrimination”.

  • result_length (int) – Number of results to be returned by the result logger.

  • num_averages (int) – Number of averages, will be rounded to 2^n.

  • averaging_mode (int) – Select the averaging order of the result, with 0 = cyclic and 1 = sequential.

Return type: