Ametek 7270 DSP Lockin Amplifier

class pymeasure.instruments.ametek.Ametek7270(adapter, name='Ametek DSP 7270', read_termination='\x00', write_termination='\x00', **kwargs)

Bases: SCPIUnknownMixin, Instrument

This is the class for the Ametek DSP 7270 lockin amplifier

In this instrument, some measurements are defined only for specific modes, called Reference modes, see set_reference_mode() and will raise errors if called incorrectly

property adc1: Any

Get the input value of ADC1 in Volts (float).

property adc2: Any

Get the input value of ADC2 in Volts (float).

property adc3: Any

Get the input value of ADC3 in Volts (float).

property adc4: Any

Get the input value of ADC4 in Volts (float).

ask(command, query_delay=None)

Send a command and read the response, stripping white spaces.

Usually the properties use the values() method that adds a strip call, however several methods use directly the result from ask to be cast into some other types. It should therefore also add the strip here, as all responses end with a newline character.

property auto_gain

Control whether automatic gain is enabled (bool).

check_set_errors()

mandatory to be used for property setter

The Ametek protocol expect the default null character to be read to check the property has been correctly set. With default termination character set as Null character, this turns out as an empty string to be read.

property dac1: Any

Control the output value on DAC1 in Volts (float truncated to values from -10 to 10).

property dac2: Any

Control the output value on DAC2 in Volts (float truncated to values from -10 to 10).

property dac3: Any

Control the output value on DAC3 in Volts (float truncated to values from -10 to 10).

property dac4: Any

Control the output value on DAC4 in Volts (float truncated to values from -10 to 10).

property frequency: Any

Control the lock-in frequency in Hz (float, truncated_range, values from 0 to 2.5e5).

property harmonic: Any

Control the reference harmonic mode (integer truncated to values from 1 to 127).

property id

Get the instrument ID and firmware version

property mag: Any

Get magnitude in Volts (float).

property phase: Any

Control the reference harmonic phase in degrees (float, modular_range, values from 0 to 360).

property sensitivity: Any

Control the sensitivity range in Volts (float truncated to values from 2 nV to 1 V).(dynamic)

set_channel_A_mode()

Sets instrument to channel A mode – assuming it is in voltage mode

set_current_mode(low_noise=False)

Sets instrument to current control mode with either low noise or high bandwidth

set_differential_mode(lineFiltering=True)

Sets instrument to differential mode – assuming it is in voltage mode

set_reference_mode(mode=0)

Set the instrument in Single, Dual or harmonic mode.

Parameters:

mode (int) – the integer specifying the mode: 0 for Single, 1 for Dual harmonic, and 2 for Dual reference. (default: 0)

set_voltage_mode()

Sets instrument to voltage control mode

shutdown()

Ensures the instrument in a safe state

property slope: Any

Control the filter slope in dB/octave (integer truncated to values 6, 12, 18, 24).

property theta: Any

Get signal phase in degrees (float).

property time_constant: Any

Control the time constant in seconds (float truncated to values from 10 microseconds to 100,000 seconds).

property voltage: Any

Control the voltage in Volts (float, truncated_range, values from 0 to 5).

property x: Any

Get X value in Volts (float).

property x1: Any

Get first harmonic X value in Volts (float).

property x2: Any

Get second harmonic X value in Volts (float).

property xy: Any

Get both X and Y values in Volts (float, tuple).

property y: Any

Get Y value in Volts (float).

property y1: Any

Get first harmonic Y value in Volts (float).

property y2: Any

Get second harmonic Y value in Volts (float).