From b3519c7317a36e687f4c07cf38e6db727d4b6eb7 Mon Sep 17 00:00:00 2001 From: sans Date: Wed, 24 Jul 2024 14:56:35 +0200 Subject: [PATCH] created config file in the new format fixed a bug in the vlimit --- cfg/addons/vsource_cfg.py | 43 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 cfg/addons/vsource_cfg.py diff --git a/cfg/addons/vsource_cfg.py b/cfg/addons/vsource_cfg.py new file mode 100644 index 0000000..cb99046 --- /dev/null +++ b/cfg/addons/vsource_cfg.py @@ -0,0 +1,43 @@ +Node('k2601b.psi.ch', + 'source meter keithley 2601b', + interface='tcp://5000', +) + + +Mod('vsource_io', + 'frappy_psi.k2601b.K2601bIO', + 'source meter', + uri = '129.129.156.90:5025', +) + + +Mod('source', + 'frappy_psi.k2601b.SourceMeter' + '', + description = "keithley sourcemeter", + mode = 1, + vlimit = 6.0, + ilimit = 2., + io = 'vsource_io', +) + +Mod('volt', + 'frappy_psi.k2601b.Voltage' + '', + description = "Voltage Source", + active = True, + limit = 5.0, + target = 0.0, + sourcemeter = 'source', + io = 'vsource_io', +) +Mod('cur', + 'frappy_psi.k2601b.Current' + '', + description = "Current Source", + active = False, + limit = 0.10, + target = 0.0, + sourcemeter = 'source', + io = 'vsource_io', +)