# YAR fiber amplifier series

class pymeasure.instruments.ipgphotonics.yar.YAR(adapter, name='YAR fiber amplifier', **kwargs)

  Bases: `Instrument`

  Communication with the YAR fiber amplifier series by IPG Photonics.

  This is the RS232 command set. GPIB has different commands.

  class Status(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)

    Bases: `IntFlag`

  check_set_errors()

    Check for errors after having set a property.

    Called if `check_set_errors=True` is set for that property.

  clear()

    Reset all errors.

  property current

    Measure the diode current in A.

  property emission_enabled

    Control emission of the amplifier (bool).

  property firmware

    Get firmware version

  property id

    Get the model number.

  property maximum_case_temperature

    Measure the maximum temperature for the optical module in °C.

  property minimum_display_power

    Measure the minimum displayable output power in W.

  property power

    Measure current output power in W.(dynamic)

  property power_range

    Get the power limits in W.

  property power_setpoint

    Control output power setpoint in W.(dynamic)

  read()

    Read an instrument answer and check whether it is an error.

  property status

    Get the current status.

  property temperature

    Measure case temperature in °C.

  property temperature_seed

    Measure current seed temperature in °C

  property wavelength_temperature

    Control temperature in °C for seed wavelength control.