configure_result_logger_for_spectroscopy#
- configure_result_logger_for_spectroscopy(daq, device_id, channel_index, *, result_length, num_averages=1, averaging_mode=0)[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 loggernum_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