.----------------. .----------------. .----------------. .----------------. .----------------.
| .--------------. || .--------------. || .--------------. || .--------------. || .--------------. |
| | __ | || | _________ | || | ______ | || | ____ | || | ____ ____ | |
| | / \ | || | |_ ___ | | || | .' ___ | | || | .' `. | || ||_ \ / _|| |
| | / /\ \ | || | | |_ \_| | || | / .' \_| | || | / .--. \ | || | | \/ | | |
| | / ____ \ | || | | _| | || | | | | || | | | | | | || | | |\ /| | | |
| | _/ / \ \_ | || | _| |_ | || | \ `.___.'\ | || | \ `--' / | || | _| |_\/_| |_ | |
| ||____| |____|| || | |_____| | || | `._____.' | || | `.____.' | || ||_____||_____|| |
| | | || | | || | | || | | || | | |
| '--------------' || '--------------' || '--------------' || '--------------' || '--------------' |
'----------------' '----------------' '----------------' '----------------' '----------------'
The AFCOM (aka Serial communication GUI program) tool is a software application that allows users to send and receive data via the serial port (COM port) of their computer. The tool can be used for various purposes, such as testing, debugging, or communicating with other devices that use the serial protocol.
The COM port tool has the following features:
It supports multiple COM ports and can detect the available ports automatically. It allows users to configure the parameters of the serial communication, such as baud rate. It provides a user-friendly interface that shows the transmitted and received data in hexadecimal, decimal, ASCII, or binary formats. It allows users to save and load the data to and from files.
The COM port tool is compatible with:
- Run the program.
- Select a serial port and configure parameters.
- Start communication using the Start button.
- Send or receive data as needed.
- Save received data or clear buffers using the respective buttons.
If you encounter any problems while using the COM port tool, try these solutions:
Make sure that the COM port is not used by another application or device. Make sure that the parameters of the serial communication match with those of the device you are communicating with. Make sure that you have sufficient permissions to access the COM port. If you have any questions or feedback, please contact me.
The following command have been used to create AFCOM.exepyinstaller --noconfirm --onefile --windowed --icon "ui/icon.ico" "src/main.py"
Feature: Added basic_view_enabled and advanced_view_enabled methods to toggle UI layouts visibility. Implemented start_loop and stop_loop for managing serial communication with threading. Added on_save_txt_button_clicked to save received data to a .txt file.
Improvement: Enhanced error handling for serial communication and worker threads. Added visual feedback for serial port selection and connection status.
Bug Fix: Fixed UI responsiveness during active serial communication.
Refactor: Organized serial communication logic into reusable methods.
Released under GNU General Public License v3.0 by @mcagriaksoy.