Expanded the functionality in test_instructions.py to also monitor and record the state of inverse sensors (inv_sensor). This was done in the checking phase, following similar logic that is used for regular sensors (sensor). Also adjusted the sensor index referencing for these inverse sensors.
Expanded the functionality in test_instructions.py to also monitor and record the state of inverse sensors (inv_sensor). This was done in the checking phase, following similar logic that is used for regular sensors (sensor). Also adjusted the sensor index referencing for these inverse sensors.
This commit includes key changes in the machine settings files st-ten-11.ini and st-ten-1.ini. We removed several parameters from the [digital_io] section in st-ten-11.ini and also updated the 'tester_discharge_enable' value to 'yes'. In st-ten-1.ini, the 'galaxy_camera' and 'screwdriver' settings were respectively altered to 'absent' and 'absent'.
Configuration files for a new automatic machine called st-ten-11 have been created, along with a placeholder SVG image. The configuration includes settings for various hardware components, printing details, recipe defaults, and testing parameters.
The update introduces IOError specific exception handling in the RFID tests. It also prints a traceback for both IOError and general exceptions. This is done to better diagnose issues related to connectivity and IO in the tests as and when they occur. The code is also cleaned for better readability by fixing indentation and removing unnecessary comments and spaces.
The update introduces IOError specific exception handling in the RFID tests. It also prints a traceback for both IOError and general exceptions. This is done to better diagnose issues related to connectivity and IO in the tests as and when they occur. The code is also cleaned for better readability by fixing indentation and removing unnecessary comments and spaces.
In the barcode_recipe_selection.py script, the way data is split and processed has been revised. 'Splitlines' is now used instead of 'split("-")', and the length for candidates was changed from 8 to 10.
FIX
A modification has been made to the `st-ten-10.ini` configuration file under the `machine_settings` directory. The `istruzione_abilitata` field under `recipes_defaults` has been updated to be empty indicating likely disabling of a certain feature or instruction.
Updated the text displayed on the brother label printer to only show "ST-TEN-10" instead of "ETICHETTA \nST-TEN-10". Also changed the warning images in machine settings for st-ten-3 and st-ten-2 to use a generic image instead of their specific ones.