Serial Data Plotter is a graphical user interface (GUI) application for visualizing and analyzing serial data. It provides real-time plotting capabilities for multiple data channels received from a serial port.
- Read and plot data from a specified serial port
- Support for custom frame format and counter mode
- Adjustable baud rate and data types
- Real-time updating of plots as data is received
- Pause and resume functionality
- Checksum verification for data integrity
- Python 3.6 or higher
- PyQt5 library
- pyqtgraph library
- pyserial library
- Connect serial device to the computer.
- Open the terminal and navigate to the directory where the Serial Plot files are located.
- Run the serial_plot python file
- Configure the desired settings such as baud rate, number of channels, frame format, etc.
- Click the "Start" button to begin reading and plotting the data.
- Use the "Pause" button to temporarily pause data acquisition.
- Use the "Resume" button to resume data acquisition after pausing.
- Close the application by clicking the "Close" button or pressing the close button on the window.
- To save the gui settings, click the "File" -> "Save"
To change the checksum formula: Edit checksum_processing()
- Max Frame start length is 8 bits
- Total Frame Start Size Sent (bytes) includes the framestart byte, frame and checksum byte
- Change file path for saving settings: file_path = '~/config.ini', QSettings.IniFormat (the file will be created if does not exist)
- Change file path for saving recordings: self.directory = self.settings.value('directory', "~/directoy_file", type=str)
The Serial Data Plotter application is built using PyQt5, pyserial and pyqtgraph libraries, which provide powerful GUI and plotting capabilities for Python.