# RS232-Waveform-Plotter **Repository Path**: QTDesign/RS232-Waveform-Plotter ## Basic Information - **Project Name**: RS232-Waveform-Plotter - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-12-23 - **Last Updated**: 2021-12-23 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # RS232-Waveform-Plotter ### Generate plots of RS232 waveforms, labelling bits along the x axis. #### Usage - usage: rs232-plotter.py [-h] parity voltage data numstartbits numstopbits numdatabits - positional arguments: - parity : Set parity bit calculation to even, odd or none. - voltage : max/min voltage to plot, eg 15 would plot for +15V to -15V. - data : String of data bits to plot, all bits must be sequential in a string. - numstartbits : per sequence, the number of bits to include & mark as start bits. - numstopbits : per sequence, the number of bits to include & mark as stop bits. - numdatabits : per sequence, the number of data bits to include before calculating parity and initiating new sequence. #### Requirements ```matplotlib``` #### Example output The following graph was generated with this command: ```python3 rs232-plotter.py none 15 11101010000 1 2 8``` ![](img/11101010000.png "Output from execution of python3 rs232-plotter.py none 15 11101010000 1 2 8")