configure_result_logger_for_spectroscopy#
- configure_result_logger_for_spectroscopy(daq: ziDAQServer, device_id: str, channel_index: int, *, result_length: int, num_averages: int = 1, averaging_mode: int = 0) None [source]#
Configures a specified result logger for spectroscopy mode.
- 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 configure - there is one result logger per channel.
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:
None