diff options
author | Eugeniy E. Mikhailov <evgmik@gmail.com> | 2021-12-14 21:21:40 -0500 |
---|---|---|
committer | Eugeniy E. Mikhailov <evgmik@gmail.com> | 2021-12-14 21:21:40 -0500 |
commit | 35d098a4415e4f9d035d03d9b5357f6cbed5ef25 (patch) | |
tree | d6ce500fb0e45f963ae974d3f6fc1c8025884f1c | |
parent | 34bf70610baf67af862a9ad4573cbbea88a01730 (diff) | |
download | qolab-35d098a4415e4f9d035d03d9b5357f6cbed5ef25.tar.gz qolab-35d098a4415e4f9d035d03d9b5357f6cbed5ef25.zip |
removed leftover file
-rw-r--r-- | lockin.py | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/lockin.py b/lockin.py deleted file mode 100644 index 3fc157b..0000000 --- a/lockin.py +++ /dev/null @@ -1,28 +0,0 @@ -""" -provide basic class to operate Lock-in -""" - -import pyvisa -import scpi - -class LockIn(scpi.SCPIinstr): - """ - Do not instantiate directly, use - rm = pyvisa.ResourceManager() - LockIn(rm.open_resource('TCPIP::192.168.0.2::INSTR')) - """ - def __init__(self, resource): - super().__init__(resource) - self.resource.read_termination='\n' - - -if __name__ == '__main__': - print("testing") - rm = pyvisa.ResourceManager() - print(rm.list_resources()) - instr=rm.open_resource('TCPIP::192.168.0.51::INSTR') - lckn = LockIn(instr) - print(lckn.idn) - - - |