configure_channel#

configure_channel(daq: ziDAQServer, device_id: str, channel_index: int, *, input_range: int, output_range: int, center_frequency: float, mode: str) None[source]#

Configures the RF input and output of a specified channel.

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 channel to configure.

  • input_range (int) – Maximal range of the signal input power in dbM.

  • output_range (int) – Maximal range of the signal output power in dbM.

  • center_frequency (float) – Center Frequency of the analysis band.

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

Return type:

None