A simple example to draw cardiogram by python. The data is received from tcp/ip.
data.txt -- raw data.
main.py -- start a GUI to draw the diagram, and receive the data from TCP/IP
dataGen.py -- simulate a TCP/IP client and send the raw data to server.
tcpModule.py -- A simple TCP/IP server/class for this project.
Usage:
step 1: run main.py
step 2: run dataGen.py
Tested under python 3.5.2