diff --git a/dev/test_mb_2024_4_mux_2024.py b/dev/test_mb_2024_4_mux_2024.py index a800fd9bbe699da6bf201a2c1d734a711f716327..7d3142d8b4941ab6bef18abe239bb017747fd8ee 100644 --- a/dev/test_mb_2024_4_mux_2024.py +++ b/dev/test_mb_2024_4_mux_2024.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: @@ -66,14 +66,10 @@ if stand_alone: # mux.test({'A': [i+8*m for i in range(1, 9)], 'B': [i+8*m for i in range(1, 9)], # 'M': [i+8*m for i in range(1, 9)], 'N': [i+8*m for i in range(1, 9)]}, activation_time=.1) # mux.reset() - tx.polarity = 1 - time.sleep(5) - tx.polarity = 0 - time.sleep(5) - tx.polarity = -1 - time.sleep(5) - tx.polarity = 0 - time.sleep(5) + for pol in [1,0,-1,0]: + tx.polarity = pol + print(pol) + time.sleep(5) # mux as part of a OhmPiHardware system if part_of_hardware_system: