From 52f33fa0d13c9ce479fad782265bf610839cb265 Mon Sep 17 00:00:00 2001 From: awatlet <arnaud.watlet@umons.ac.be> Date: Wed, 18 Oct 2023 14:13:57 +0200 Subject: [PATCH] Updates config mux 2023 mux 2024 --- .../config_mb_2024_0_2__4_mux_2023__4_mux_2024_dps5005.py | 7 ++++++- dev/test_mb_2024_4_mux_2024_4_mux_2023.py | 4 ++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/configs/config_mb_2024_0_2__4_mux_2023__4_mux_2024_dps5005.py b/configs/config_mb_2024_0_2__4_mux_2023__4_mux_2024_dps5005.py index ad6f9033..1e15ff42 100644 --- a/configs/config_mb_2024_0_2__4_mux_2023__4_mux_2024_dps5005.py +++ b/configs/config_mb_2024_0_2__4_mux_2023__4_mux_2024_dps5005.py @@ -34,24 +34,28 @@ HARDWARE_CONFIG = { 'mux': {'boards': {'mux_A': {'model': 'mux_2023_0_X', + 'interface_name': 'i2c', 'mux_tca_address': 0x70, 'roles': {'A': 'X'}, 'cabling': {(i, j): ('mux_A', i) for j in ['A'] for i in range(1, 65)}, 'voltage_max': 12.}, 'mux_B': {'model': 'mux_2023_0_X', + 'interface_name': 'i2c', 'mux_tca_address': 0x71, 'roles': {'B': 'X'}, 'cabling': {(i, j): ('mux_B', i) for j in ['B'] for i in range(1, 65)}, 'voltage_max': 12.}, 'mux_M': {'model': 'mux_2023_0_X', + 'interface_name': 'i2c', 'mux_tca_address': 0x72, 'roles': {'M': 'X'}, 'cabling': {(i, j): ('mux_M', i) for j in ['M'] for i in range(1, 65)}, 'voltage_max': 12.}, 'mux_N': {'model': 'mux_2023_0_X', + 'interface_name': 'i2c', 'mux_tca_address': 0x73, 'roles': {'N': 'X'}, 'cabling': {(i, j): ('mux_N', i) for j in ['N'] for i in range(1, 65)}, @@ -88,7 +92,8 @@ HARDWARE_CONFIG = { 'cabling': {(i+65+0, j): ('mux_05', i) for j in ['A', 'B', 'M', 'N'] for i in range(1, 9)}, 'voltage_max': 12.}, 'mux_06': - {'model': 'mux_2024_0_X', + {'interface_name': 'i2c', + 'model': 'mux_2024_0_X', 'tca_address': None, 'tca_channel': 0, 'addr2': 'down', diff --git a/dev/test_mb_2024_4_mux_2024_4_mux_2023.py b/dev/test_mb_2024_4_mux_2024_4_mux_2023.py index b63fa1b2..34fc595c 100644 --- a/dev/test_mb_2024_4_mux_2024_4_mux_2023.py +++ b/dev/test_mb_2024_4_mux_2024_4_mux_2023.py @@ -7,9 +7,9 @@ import time import logging from ohmpi.config import HARDWARE_CONFIG -stand_alone = False +stand_alone = True part_of_hardware_system = False -within_ohmpi = True +within_ohmpi = False # Stand alone if stand_alone: -- GitLab