From 6f40adb19d5e18706b4685be392c736b93a3ab44 Mon Sep 17 00:00:00 2001 From: atse Date: Fri, 4 Aug 2023 12:57:46 +0800 Subject: [PATCH] Max current plus-or-minus better informs --- pytec/tec_qt.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pytec/tec_qt.py b/pytec/tec_qt.py index e6528e0..8f88fd5 100644 --- a/pytec/tec_qt.py +++ b/pytec/tec_qt.py @@ -32,7 +32,7 @@ THERMOSTAT_PARAMETERS = [[ 'suffix': '°C', 'commands': [f'pid {ch} target {{value}}'], 'payload': ch}, ]}, {'name': 'Output Config', 'expanded': False, 'type': 'group', 'children': [ - {'name': 'Max Current', 'type': 'float', 'value': 0, 'step': 0.1, 'limits': (0, 3), 'siPrefix': True, + {'name': 'Max Current', 'type': 'float', 'value': 0, 'step': 0.1, 'limits': (0, 3), 'siPrefix': True, 'prefix': '±', 'suffix': 'A', 'commands': [f'pwm {ch} max_i_pos {{value}}', f'pwm {ch} max_i_neg {{value}}', f'pid {ch} output_min -{{value}}', f'pid {ch} output_max {{value}}']}, {'name': 'Max Voltage', 'type': 'float', 'value': 0, 'step': 0.1, 'limits': (0, 5), 'siPrefix': True,