Commit 52f33fa0 authored by Arnaud WATLET's avatar Arnaud WATLET
Browse files

Updates config mux 2023 mux 2024

Showing with 8 additions and 3 deletions
+8 -3
...@@ -34,24 +34,28 @@ HARDWARE_CONFIG = { ...@@ -34,24 +34,28 @@ HARDWARE_CONFIG = {
'mux': {'boards': 'mux': {'boards':
{'mux_A': {'mux_A':
{'model': 'mux_2023_0_X', {'model': 'mux_2023_0_X',
'interface_name': 'i2c',
'mux_tca_address': 0x70, 'mux_tca_address': 0x70,
'roles': {'A': 'X'}, 'roles': {'A': 'X'},
'cabling': {(i, j): ('mux_A', i) for j in ['A'] for i in range(1, 65)}, 'cabling': {(i, j): ('mux_A', i) for j in ['A'] for i in range(1, 65)},
'voltage_max': 12.}, 'voltage_max': 12.},
'mux_B': 'mux_B':
{'model': 'mux_2023_0_X', {'model': 'mux_2023_0_X',
'interface_name': 'i2c',
'mux_tca_address': 0x71, 'mux_tca_address': 0x71,
'roles': {'B': 'X'}, 'roles': {'B': 'X'},
'cabling': {(i, j): ('mux_B', i) for j in ['B'] for i in range(1, 65)}, 'cabling': {(i, j): ('mux_B', i) for j in ['B'] for i in range(1, 65)},
'voltage_max': 12.}, 'voltage_max': 12.},
'mux_M': 'mux_M':
{'model': 'mux_2023_0_X', {'model': 'mux_2023_0_X',
'interface_name': 'i2c',
'mux_tca_address': 0x72, 'mux_tca_address': 0x72,
'roles': {'M': 'X'}, 'roles': {'M': 'X'},
'cabling': {(i, j): ('mux_M', i) for j in ['M'] for i in range(1, 65)}, 'cabling': {(i, j): ('mux_M', i) for j in ['M'] for i in range(1, 65)},
'voltage_max': 12.}, 'voltage_max': 12.},
'mux_N': 'mux_N':
{'model': 'mux_2023_0_X', {'model': 'mux_2023_0_X',
'interface_name': 'i2c',
'mux_tca_address': 0x73, 'mux_tca_address': 0x73,
'roles': {'N': 'X'}, 'roles': {'N': 'X'},
'cabling': {(i, j): ('mux_N', i) for j in ['N'] for i in range(1, 65)}, 'cabling': {(i, j): ('mux_N', i) for j in ['N'] for i in range(1, 65)},
...@@ -88,7 +92,8 @@ HARDWARE_CONFIG = { ...@@ -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)}, 'cabling': {(i+65+0, j): ('mux_05', i) for j in ['A', 'B', 'M', 'N'] for i in range(1, 9)},
'voltage_max': 12.}, 'voltage_max': 12.},
'mux_06': 'mux_06':
{'model': 'mux_2024_0_X', {'interface_name': 'i2c',
'model': 'mux_2024_0_X',
'tca_address': None, 'tca_address': None,
'tca_channel': 0, 'tca_channel': 0,
'addr2': 'down', 'addr2': 'down',
......
...@@ -7,9 +7,9 @@ import time ...@@ -7,9 +7,9 @@ import time
import logging import logging
from ohmpi.config import HARDWARE_CONFIG from ohmpi.config import HARDWARE_CONFIG
stand_alone = False stand_alone = True
part_of_hardware_system = False part_of_hardware_system = False
within_ohmpi = True within_ohmpi = False
# Stand alone # Stand alone
if stand_alone: if stand_alone:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment