I need a basic Windows GUI to display data read from tcp socket using vendor's API.
The data (this part is done):
I have a CAN bus that is getting data points from 2 sources (each identified with a CAN ID). The data is sampled and written to the CAN bus. I have a network device (NetCan Plus 110) that reads the CAN messages and converts them to TCP packets and sends the data over the LAN.
The GUI (this is the project I need written):
I need a simple GUI that uses the vendor API to read the data and then display it in graphical form (some type of gauge). GUI will have a basic menu structure (quit, about, edit config, etc...). It will open a config file and read data like IP address and port of source and user configurable data about each of the 2 sources (name, max, min, warning level). I assume the best way to do this would be to spawn 2 threads: one to constantly read data from the network and store it in an object, and another to constantly update the gauge widgets. You may have a better idea...
This will be a basic program but must be extensible (additional sources in the future, or additional config data, etc...) Will be done in Qt Creator and entire project with source will be delivered. Windows 7 to Windows 10 compatible. Easy to read Object oriented code a must. I am hoping to find someone to do many projects like this in the future.
16 freelanceria on tarjonnut keskimäärin %project_bid_stats_avg_sub_26% %project_currencyDetails_sign_sub_27% tähän työhön
There could be two possible design to solve your problem: ● Using two thread with Producer-consumer design pattern. ● Using QTimer. Data will be read after every timeout signal.