This commit is contained in:
neo-nb3 2023-10-11 22:01:05 +02:00
parent 5b0aee7437
commit 6a254e7922
2 changed files with 35 additions and 3 deletions

View File

@ -1,6 +1,35 @@
registers = { registers = {
"program_data":b'A000',
} "product_data":b'B000',
settings = { "function_data":b'D000',
"counters":b'E000',
"change_cur_prod":b'F000',
"start_test": b'G000',
"reset_test": b'H000',
"version_num_range": b'I000',
"reset_counters": b'J000',
"self_check": b'K000',
"last_test_result": b'L000',
"current_status": b'M000',
"zero_pressure": b'O000',
"security_data": b'P000',
"printer_settings": b'S000',
"comm_settings": b'x000'
}
tags = {
"product_id": b'a',
"test_press": b'b',
"tolerance": b'c',
"+fail": b'd',
"-fail": b'e',
"fill_time": b'f',
"stab_time": b'g',
"test_time": b'h',
"prefill_time": b'i',
"vent_time": b'm',
"test_type": b'n',
"fail_high": b'o',
"fail_low": b'p',
"outputs_a_h": b'q',
} }

View File

@ -100,6 +100,9 @@ class Test_Leak(Test_Test):
self.recipe_pressure_l.setText(f"{self.step.spec['test_pressure']}") self.recipe_pressure_l.setText(f"{self.step.spec['test_pressure']}")
self.leak_min_l.setText(f"{self.step.spec['test_pressure_qneg']}") self.leak_min_l.setText(f"{self.step.spec['test_pressure_qneg']}")
self.leak_max_l.setText(f"{self.step.spec['test_pressure_qpos']}") self.leak_max_l.setText(f"{self.step.spec['test_pressure_qpos']}")
self.fill_time_l.setText(f"{self.step.spec['filling_time']}")
self.settle_time_l.setText(f"{self.step.spec['settling_time']}")
self.meas_time_l.setText(f"{self.step.spec['test_time']}")
# SETUP TEST LOOP # SETUP TEST LOOP
if self.step.spec.get("autotest", False) != False: # IF AUTOTESTING UPLOAD RECIPE EVERY TIME if self.step.spec.get("autotest", False) != False: # IF AUTOTESTING UPLOAD RECIPE EVERY TIME