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

Configures a specified result logger for spectroscopy 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) – SHFQC device identifier, e.g. dev12004 or ‘shf-dev12004’.

  • 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: