# SR860 Lock-in Amplifier

class pymeasure.instruments.srs.SR860(adapter, name='Stanford Research Systems SR860 Lock-in amplifier', **kwargs)

  Bases: `SCPIUnknownMixin`, `Instrument`

  property adc1

    Reads the Aux input 1 value in Volts with 1/3 mV resolution.

  property adc2

    Reads the Aux input 2 value in Volts with 1/3 mV resolution.

  property adc3

    Reads the Aux input 3 value in Volts with 1/3 mV resolution.

  property adc4

    Reads the Aux input 4 value in Volts with 1/3 mV resolution.

  property aux_in_1

    Reads the Aux input 1 value in Volts with 1/3 mV resolution.

  property aux_in_2

    Reads the Aux input 2 value in Volts with 1/3 mV resolution.

  property aux_in_3

    Reads the Aux input 3 value in Volts with 1/3 mV resolution.

  property aux_in_4

    Reads the Aux input 4 value in Volts with 1/3 mV resolution.

  property aux_out_1

    A floating point property that controls the output of Aux output 1 in Volts, taking values between -10.5 V and +10.5 V. This property can be set.

  property aux_out_2

    A floating point property that controls the output of Aux output 2 in Volts, taking values between -10.5 V and +10.5 V. This property can be set.

  property aux_out_3

    A floating point property that controls the output of Aux output 3 in Volts, taking values between -10.5 V and +10.5 V. This property can be set.

  property aux_out_4

    A floating point property that controls the output of Aux output 4 in Volts, taking values between -10.5 V and +10.5 V. This property can be set.

  property dac1

    A floating point property that controls the output of Aux output 1 in Volts, taking values between -10.5 V and +10.5 V. This property can be set.

  property dac2

    A floating point property that controls the output of Aux output 2 in Volts, taking values between -10.5 V and +10.5 V. This property can be set.

  property dac3

    A floating point property that controls the output of Aux output 3 in Volts, taking values between -10.5 V and +10.5 V. This property can be set.

  property dac4

    A floating point property that controls the output of Aux output 4 in Volts, taking values between -10.5 V and +10.5 V. This property can be set.

  property dcmode

    A string property that represents the sine out dc mode. This property can be set. Allowed values are:[‘COM’, ‘DIF’, ‘common’, ‘difference’]

  property detectedfrequency

    Returns the actual detected frequency in HZ.

  property extfreqency

    Returns the external frequency in Hz.

  property filer_synchronous

    A string property that represents the synchronous filter. This property can be set. Allowed values are:[‘Off’, ‘On’]

  property filter_advanced

    A string property that represents the advanced filter. This property can be set. Allowed values are:[‘Off’, ‘On’]

  property filter_slope

    A integer property that sets the filter slope to 6 dB/oct(i=0), 12 DB/oct(i=1), 18 dB/oct(i=2), 24 dB/oct(i=3).

  property frequency

    A floating point property that represents the lock-in frequency in Hz. This property can be set.

  property frequencypreset1

    A floating point property that represents the preset frequency for the F1 preset button. This property can be set.

  property frequencypreset2

    A floating point property that represents the preset frequency for the F2 preset button. This property can be set.

  property frequencypreset3

    A floating point property that represents the preset frequency for the F3 preset button. This property can be set.

  property frequencypreset4

    A floating point property that represents the preset frequency for the F4 preset button. This property can be set.

  property front_panel

    Turns the front panel blanking on(i=0) or off(i=1).

  property get_noise_bandwidth

    Returns the equivalent noise bandwidth, in hertz.

  property get_signal_strength_indicator

    Returns the signal strength indicator.

  property gettimebase

    Returns the current 10 MHz timebase source.

  property harmonic

    An integer property that controls the harmonic that is measured. Allowed values are 1 to 99. Can be set.

  property harmonicdual

    An integer property that controls the harmonic in dual reference mode that is measured. Allowed values are 1 to 99. Can be set.

  property horizontal_time_div

    A integer property for the horizontal time/div according to the following table:[‘0=0.5s’, ‘1=1s’, ‘2=2s’, ‘3=5s’, ‘4=10s’, ‘5=30s’, ‘6=1min’, ‘7=2min’, ‘8=5min’, ‘9=10min’, ‘10=30min’, ‘11=1hour’, ‘12=2hour’, ‘13=6hour’, ‘14=12hour’, ‘15=1day’, ‘16=2days’]

  property input_coupling

    A string property that represents the input coupling. This property can be set. Allowed values are:[‘AC’, ‘DC’]

  property input_current_gain

    A string property that represents the current input gain. This property can be set. Allowed values are:[‘1MEG’, ‘100MEG’]

  property input_range

    A string property that represents the input range. This property can be set. Allowed values are:[‘1V’, ‘300M’, ‘100M’, ‘30M’, ‘10M’]

  property input_shields

    A string property that represents the input shield grounding. This property can be set. Allowed values are:[‘Float’, ‘Ground’]

  property input_signal

    A string property that represents the signal input. This property can be set. Allowed values are:[‘VOLT’, ‘CURR’, ‘voltage’, ‘current’]

  property input_voltage_mode

    A string property that represents the voltage input mode. This property can be set. Allowed values are:[‘A’, ‘A-B’]

  property internalfrequency

    A floating property that represents the internal lock-in frequency in Hz This property can be set.

  property magnitude

    Reads the magnitude in Volts.

  property parameter_DAT1

    A integer property that assigns a parameter to data channel 1(green). This parameters can be set. Allowed values are:[‘i=’, ‘0=Xoutput’, ‘1=Youtput’, ‘2=Routput’, ‘Thetaoutput’, ‘4=Aux IN1’, ‘5=Aux IN2’, ‘6=Aux IN3’, ‘7=Aux IN4’, ‘8=Xnoise’, ‘9=Ynoise’, ‘10=AUXOut1’, ‘11=AuxOut2’, ‘12=Phase’, ‘13=Sine Out amplitude’, ‘14=DCLevel’, ‘15I=nt.referenceFreq’, ‘16=Ext.referenceFreq’]

  property parameter_DAT2

    A integer property that assigns a parameter to data channel 2(blue). This parameters can be set. Allowed values are:[‘i=’, ‘0=Xoutput’, ‘1=Youtput’, ‘2=Routput’, ‘Thetaoutput’, ‘4=Aux IN1’, ‘5=Aux IN2’, ‘6=Aux IN3’, ‘7=Aux IN4’, ‘8=Xnoise’, ‘9=Ynoise’, ‘10=AUXOut1’, ‘11=AuxOut2’, ‘12=Phase’, ‘13=Sine Out amplitude’, ‘14=DCLevel’, ‘15I=nt.referenceFreq’, ‘16=Ext.referenceFreq’]

  property parameter_DAT3

    A integer property that assigns a parameter to data channel 3(yellow). This parameters can be set. Allowed values are:[‘i=’, ‘0=Xoutput’, ‘1=Youtput’, ‘2=Routput’, ‘Thetaoutput’, ‘4=Aux IN1’, ‘5=Aux IN2’, ‘6=Aux IN3’, ‘7=Aux IN4’, ‘8=Xnoise’, ‘9=Ynoise’, ‘10=AUXOut1’, ‘11=AuxOut2’, ‘12=Phase’, ‘13=Sine Out amplitude’, ‘14=DCLevel’, ‘15I=nt.referenceFreq’, ‘16=Ext.referenceFreq’]

  property parameter_DAT4

    A integer property that assigns a parameter to data channel 3(orange). This parameters can be set. Allowed values are:[‘i=’, ‘0=Xoutput’, ‘1=Youtput’, ‘2=Routput’, ‘Thetaoutput’, ‘4=Aux IN1’, ‘5=Aux IN2’, ‘6=Aux IN3’, ‘7=Aux IN4’, ‘8=Xnoise’, ‘9=Ynoise’, ‘10=AUXOut1’, ‘11=AuxOut2’, ‘12=Phase’, ‘13=Sine Out amplitude’, ‘14=DCLevel’, ‘15I=nt.referenceFreq’, ‘16=Ext.referenceFreq’]

  property phase

    A floating point property that represents the lock-in phase in degrees. This property can be set.

  property reference_externalinput

    A string property that represents the external reference input. This property can be set. Allowed values are:[‘50OHMS’, ‘1MEG’]

  property reference_source

    A string property that represents the reference source. This property can be set. Allowed values are:[‘INT’, ‘EXT’, ‘DUAL’, ‘CHOP’]

  property reference_triggermode

    A string property that represents the external reference trigger mode. This property can be set. Allowed values are:[‘SIN’, ‘POS’, ‘NEG’, ‘POSTTL’, ‘NEGTTL’]

  property screen_layout

    A integer property that Sets the screen layout to trend(i=0), full strip chart history(i=1), half strip chart history(i=2), full FFT(i=3), half FFT(i=4) or big numerical(i=5).

  screenshot()

    Take screenshot on device The DCAP command saves a screenshot to a USB memory stick. This command is the same as pressing the [Screen Shot] key. A USB memory stick must be present in the front panel USB port.

  property sensitvity

    A floating point property that controls the sensitivity in Volts, which can take discrete values from 2 nV to 1 V. Values are truncated to the next highest level if they are not exact.

  property sine_amplitudepreset1

    Floating point property representing the preset sine out amplitude, for the A1 preset button. This property can be set.

  property sine_amplitudepreset2

    Floating point property representing the preset sine out amplitude, for the A2 preset button. This property can be set.

  property sine_amplitudepreset3

    Floating point property representing the preset sine out amplitude, for the A3 preset button. This property can be set.

  property sine_amplitudepreset4

    Floating point property representing the preset sine out amplitude, for the A3 preset button. This property can be set.

  property sine_dclevelpreset1

    A floating point property that represents the preset sine out dc level for the L1 button. This property can be set.

  property sine_dclevelpreset2

    A floating point property that represents the preset sine out dc level for the L2 button. This property can be set.

  property sine_dclevelpreset3

    A floating point property that represents the preset sine out dc level for the L3 button. This property can be set.

  property sine_dclevelpreset4

    A floating point property that represents the preset sine out dc level for the L4 button. This property can be set.

  property sine_voltage

    A floating point property that represents the reference sine-wave voltage in Volts. This property can be set.

  snap(val1='X', val2='Y', val3=None)

    retrieve 2 or 3 parameters at once parameters can be chosen by index, or enumeration as follows:

    index | enumeration | parameter
    --- | --- | ---
    0 | X | X output
    1 | Y | Y output
    2 | R | R output
    3 | THeta | θ output
    4 | IN1 | Aux In1
    5 | IN2 | Aux In2
    6 | IN3 | Aux In3
    7 | IN4 | Aux In4
    8 | XNOise | Xnoise
    9 | YNOise | Ynoise
    10 | OUT1 | Aux Out1
    11 | OUT2 | Aux Out2
    12 | PHAse | Reference Phase
    13 | SAMp | Sine Out Amplitude
    14 | LEVel | DC Level
    15 | FInt | Int. Ref. Frequency
    16 | FExt | Ext. Ref. Frequency

    Parameters:

      - val1 – parameter enumeration/index

      - val2 – parameter enumeration/index

      - val3 – parameter enumeration/index (optional)

    Defaults:

      val1 = “X” val2 = “Y” val3 = None

  property strip_chart_dat1

    A integer property that turns the strip chart graph of data channel 1 off(i=0) or on(i=1).

  property strip_chart_dat2

    A integer property that turns the strip chart graph of data channel 2 off(i=0) or on(i=1).

  property strip_chart_dat3

    A integer property that turns the strip chart graph of data channel 1 off(i=0) or on(i=1).

  property strip_chart_dat4

    A integer property that turns the strip chart graph of data channel 4 off(i=0) or on(i=1).

  property theta

    Reads the theta value in degrees.

  property time_constant

    A floating point property that controls the time constant in seconds, which can take discrete values from 10 microseconds to 30,000 seconds. Values are truncated to the next highest level if they are not exact.

  property timebase

    Sets the external 10 MHZ timebase to auto(i=0) or internal(i=1).

  property x

    Reads the X value in Volts

  property y

    Reads the Y value in Volts