qcodes_contrib_drivers.drivers.Ametek package

Submodules

qcodes_contrib_drivers.drivers.Ametek.SR_7270 module

Created by Elyjah <elyjah.kiyooka@cea.fr>, Jan 2022

class qcodes_contrib_drivers.drivers.Ametek.SR_7270.Signalrecovery7270(*args: Any, **kwargs: Any)[source]

Bases: VisaInstrument

This is the qcodes driver for the Ametex Signal Recovery Model 7270 DSP Lockin amplifier

Note: ask_raw command has been rewritten (bottom) to also read an echo to remove from buffer. write_raw command have been rewritten to also read after writing using ask_raw.

ask_raw(cmd: str) str[source]

Reimplementaion of ask function to handle lockin echo.

Parameters:

cmd – Command to be sent (asked) to lockin.

Raises:

Runtimeerror – If the response does not end with the expected terminators ‘nx00’ or ‘x00’

Returns:

Return string from lockin with terminator character stripped of.

Return type:

str

get_idn()[source]

Rewrite default get_idn commmand since SR7270 uses different IDN command. vendor is hard input; model is called; serial and firmware remain unknown.

Returns:

Dict of ‘vendor’, ‘model’, ‘serial’, ‘firmware’

write_raw(cmd: str) None[source]

Reimplementation of write function to handle lockin echo. Calls on ask_raw (defined above) to read echo.

Parameters:

cmd – Command to be sent (asked) to lockin.

Module contents