# KU SG 2.45 250 A - 2.45 GHz ISM-Band Microwave Generator

class pymeasure.instruments.kuhneelectronic.Kusg245_250A(adapter, name='KU SG 2.45 250 A', power_limit=250, **kwargs)

  Bases: `Instrument`

  Represents KU SG 2.45 250 A the 2.45 GHz ISM-Band Microwave Generator and provides a high-level interface for interacting with the instrument.

  Parameters:

    power_limit – power set-point limit in Watts (integer from 0 to 250). See `power_setpoint` and `tune()`.

  Usage example:

      from pymeasure.instruments.kuhneelectronic import Kusg245_250A

      generator = Kusg245_250A("ASRL3::INSTR", power_limit=100) # limits the output
                                                                # power set-point to 100 W

      generator.external_enabled = False      # biasing and RF output controlled by serial comm
      generator.power = 20                    # Sets the output power to 20 Watts
      generator.bias_enabled = True           # Enables amplifier biasing
      generator.rf_enabled = True             # Enables the RF output

      p_fwd = generator.power_forward         # Reads forward power in Watts
      p_rev = generator.power_reverse         # Reads reflected power in Watts

  property bias_enabled

    Control whether transistor biasing is enabled (boolean).

    Biasing must be enabled before switching RF on (see `rf_enabled`).

  clear_VSWR_error()

    Clear the VSWR error.

    See: `reflection_limit`.

  property external_enabled

    Control whether amplifier enabling is done via external inputs on 8-pin connector or via serial interface (boolean).

  property freq_steps_fine_enabled

    Control whether fine frequency steps are enabled (boolean).

  property frequency_coarse

    Control coarse frequency in MHz (integer from 2400 to 2500).

    Fine frequency mode must be disabled (see `freq_steps_fine_enabled`). Resolution: 1 MHz. Invalid values are truncated.

  property frequency_fine

    Control fine frequency in kHz (integer from 2400000 to 2500000).

    Fine frequency mode must be enabled (see `freq_steps_fine_enabled`). Resolution: 10 kHz. Invalid values are truncated. Values are rounded to tens.

  property off_time

    Control off time for the pulse mode in ms (integer from 10 to 1000).

    Resolution: 5 ms. Invalid values are truncated. Values are rounded to multipliers of 5.

  property phase_shift

    Control phase shift in degrees (float from 0 to 358.6).

    Resolution: 8-bits. Values out of range are truncated.

  property power_forward

    Measure forward power in Watts.

  property power_reverse

    Measure reverse power in Watts.

  property power_setpoint

    Control output power set-point in Watts (integer from 0 to `power_limit` parameter - see constructor).

    Resolution: 1 W. Invalid values are truncated. (dynamic)

  property pulse_mode_enabled

    Control whether pulse mode is enabled (boolean).

    Note

    Biasing must be enabled before the pulse mode is enabled (see `bias_enabled`)

  property pulse_width

    Control pulse width in ms (integer from 10 to 1000).

    Resolution: 5 ms. Invalid values are truncated. Values are rounded to multipliers of 5.

  property reflection_limit

    Control limit of reflection in Watts (integer in 0 - no limit, 100, 150, 180, 200, 230).

    Note

    If the limit for the reflected power is reached, the forward power is reduced to the specified value and the power control mechanism is locked until the alarm has been cleared by the user via `clear_VSWR_error()`.

  property rf_enabled

    Control whether RF output is enabled (boolean).

    Note

    Biasing must be enabled before RF is enabled (see `bias_enabled`)

  store_settings()

    Save actual settings to EEPROM.

    The following parameters are stored: frequency mode (see `freq_steps_fine_enabled`), frequency (see `frequency_coarse` or `frequency_fine`), output power set-point (see `power_setpoint`), ON/OFF control setting (see `external_enabled`), reflection limit (see `reflection_limit`), on time for pulse mode (see `pulse_width`) and off time for pulse mode (see `off_time`).

  property temperature

    Measure temperature near final transistor in °C.

  tune(power)

    Find and set frequency with lowest reflection at a given power.

    Parameters:

      power – A power set-point for tuning (in Watts). (integer from 0 to `power_limit` parameter - see constructor).

  turn_off()

    Safe turn-off the generator.

    1. Disable RF output.

    2. Deactivate biasing.

  turn_on()

    Safe turn-on the generator.

    1. Activate biasing.

    2. Enable RF output.

  property version

    Get firmware version.

  property voltage_32v

    Measure 32V supply voltage in Volts.

  property voltage_5v

    Measure internal 5V supply voltage in Volts.

  write(command, **kwargs)

    Write a string command to the instrument appending write_termination.

    Parameters:

      - command – command string to be sent to the instrument

      - kwargs – Keyword arguments for the adapter.