fix label & modbus

This commit is contained in:
st-ten-13 2025-03-25 09:54:52 +01:00
parent 1d1da5b5df
commit c22ca85f4d
3 changed files with 7 additions and 6 deletions

View File

@ -20,7 +20,7 @@ discard_box: absent
#enforce_piece_removal: yes
[tecna_t3]
port: /dev/ttyUSB1
port: /dev/ttyUSB0
model: t3l
[label_printer]
@ -34,7 +34,7 @@ risoluzione:203
id: USB-5862,BID#0
[fixture_rfid]
port: ttyUSB0 #correct way to declare usb in linux
port: ttyUSB1 #correct way to declare usb in linux
[recipe]
recipe_name_field: codice_ricetta
@ -87,8 +87,8 @@ settling_pressure_min_percent: 5
settling_pressure_max_percent: 5
test_pressure: 5900
test_time: 10
test_pressure_qpos: 3.5 #Q+ Upper test leak limit
test_pressure_qneg: 6.5 #Q- Lower test leak limit
test_pressure_qpos: 4.5 #Q+ Upper test leak limit
test_pressure_qneg: 7.3 #Q- Lower test leak limit
test_pressure_tt_qpos: 1 # Q+ Upper test leak limit (tube-tube)
test_pressure_tt_qneg: 5 # Q- Lower test leak limit (tube-tube)
flush_time: 1

View File

@ -827,7 +827,8 @@ class Test(Widget):
barcode_format = self.print_step.spec.get("barcode", "-")
self.printed_barcode = barcode_format.format_map(context)
self.archived.barcode = self.printed_barcode
if self.archived is not None:
self.archived.barcode = self.printed_barcode
for n in range(5):

View File

@ -26,7 +26,7 @@ class Test_Leak(Test_Test):
self.show_instruction_b.setVisible("show_instructions" in self.parent.config["hardware_config"].keys())
self.show_instruction_b.clicked.connect(self.show_instruction)
self.components[self.tester_component].tecna_error_signal.connect(self.handle_modbus_error)
#self.components[self.tester_component].tecna_error_signal.connect(self.handle_modbus_error)
def show_instruction(self):
dialog=Dialog()