diff --git a/simulate.sh b/simulate.sh index bc57482..30984d0 100755 --- a/simulate.sh +++ b/simulate.sh @@ -23,7 +23,6 @@ python -B -u "./src/main.py" \ --sim-modbus \ --sim-os-label-printer \ --sim-serial \ ---sim-vision \ --style windows \ $* 2> >(sed $'s/.*/\e[31m&\e[m/' >&2) # & # --about \ @@ -35,6 +34,7 @@ $* 2> >(sed $'s/.*/\e[31m&\e[m/' >&2) # & # --no-gui \ # --no-tflite \ # --sim-archiver \ +# --sim-vision \ # --users-management \ # sudo renice -n -10 $! # fg diff --git a/src/components/tecna_marposs_provaset_t3p.py b/src/components/tecna_marposs_provaset_t3p.py index 2fc3b3c..d612d9e 100644 --- a/src/components/tecna_marposs_provaset_t3p.py +++ b/src/components/tecna_marposs_provaset_t3p.py @@ -165,7 +165,7 @@ class TecnaMarpossProvasetT3P(ModbusComponent): "Test program for read/write operation": table, **{719 - 1 + i: (recipe_name[i * 2 + 1] << 8) + recipe_name[i * 2] for i in range(8)}, "Test type": "Leak Test", - "Test flags": 0b0110000001011000, + "Test flags": 0b0110000001011100, "T0 - Pre-filling time": recipe.spec["pre_filling_time"], "P0 - Pre-filling pressure": recipe.spec["pre_filling_pressure"], "T1 - Filling time": recipe.spec["filling_time"], diff --git a/src/lib/db/__init__.py b/src/lib/db/__init__.py index 6f64acf..f8ef017 100644 --- a/src/lib/db/__init__.py +++ b/src/lib/db/__init__.py @@ -71,14 +71,13 @@ Recipes.replace(id=0, name="TEST", spec={ # filling "filling_time": 5, "settling_time": 10, - "settling_pressure_min_percent": 20, - "settling_pressure_max_percent": 20, + "settling_pressure_min_percent": 10, + "settling_pressure_max_percent": 10, # test - "test_time": 20, + "test_time": 10, "test_pressure_min_delta": 3.00, "test_pressure": 3000, "test_pressure_max_delta": 0.25, - "cycles": 1, # flush "flush_time": 2, "flush_pressure": 5,