From 119d2e4290119ca688e7b56cf0a8d1a25e5fb2af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89rico=20Nogueira?= Date: Wed, 6 Dec 2023 11:54:43 -0300 Subject: [PATCH 1/2] orbintlk.MNT: don't hardcode ItlkR event. --- siriuspy/siriuspy/orbintlk/csdev.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/siriuspy/siriuspy/orbintlk/csdev.py b/siriuspy/siriuspy/orbintlk/csdev.py index 343dbdbac..e63eece23 100644 --- a/siriuspy/siriuspy/orbintlk/csdev.py +++ b/siriuspy/siriuspy/orbintlk/csdev.py @@ -157,6 +157,7 @@ def EVG_CONFIGS(cls): hlevts = _HLTimeSearch.get_hl_events() evtin0 = int(hlevts['Intlk'].strip('Evt')) + evtin1 = int(hlevts['ItlkR'].strip('Evt')) evtin2 = int(hlevts['DCT13'].strip('Evt')) evtin3 = int(hlevts['DCT14'].strip('Evt')) evtout = int(hlevts['RFKll'].strip('Evt')) @@ -166,7 +167,7 @@ def EVG_CONFIGS(cls): ('IntlkCtrlRepeat-Sel', 0), ('IntlkCtrlRepeatTime-SP', 0), ('IntlkEvtIn0-SP', evtin0), - ('IntlkEvtIn1-SP', 118), + ('IntlkEvtIn1-SP', evtin1), ('IntlkEvtIn2-SP', evtin2), ('IntlkEvtIn3-SP', evtin3), ('IntlkEvtOut-SP', evtout), From 69e01f4dd4f32da3009c3e4fa1c0cfec7c6daaf9 Mon Sep 17 00:00:00 2001 From: Ana Clara Oliveira Date: Mon, 11 Dec 2023 21:44:44 -0300 Subject: [PATCH 2/2] orbintlk.ENH: remove dry run --- siriuspy/siriuspy/orbintlk/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/siriuspy/siriuspy/orbintlk/main.py b/siriuspy/siriuspy/orbintlk/main.py index c9ca88539..4ee99f0e9 100644 --- a/siriuspy/siriuspy/orbintlk/main.py +++ b/siriuspy/siriuspy/orbintlk/main.py @@ -27,7 +27,7 @@ class App(_Callback): SCAN_FREQUENCY = 1 # [Hz] - def __init__(self, tests=True): + def __init__(self, tests=False): """Class constructor.""" super().__init__() self._is_dry_run = tests