From 330e207ced0d16b07a5ddcfc7943ed047c34c6e1 Mon Sep 17 00:00:00 2001 From: jmcchesn <jmcchesn@aps.anl.gov> Date: Mon, 10 Oct 2022 12:44:23 -0500 Subject: [PATCH] debug --- iexcode/instruments/Kappa.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/iexcode/instruments/Kappa.py b/iexcode/instruments/Kappa.py index 667b5ec..a09950d 100644 --- a/iexcode/instruments/Kappa.py +++ b/iexcode/instruments/Kappa.py @@ -97,8 +97,10 @@ def kappa_init(*userName,**kwargs): #MPA iex.mpa = MPA() - global mpa = iex.mpa - global tth_pv,tthdet + + global mpa,tth_pv,tthdet + iex.mpa = MPA() + mpa = iex.mpa tthdet = Kappa_Detector(kappa_Motors) tth_pv = _kappa_motor_dictionary('tth')[3] -- GitLab