Qt/QML app and FPGA
-
Hello,
I have an FPGA that takes FFT of incoming signal. It genertes a result that will be communicated using UDP to PC through ethernet. I have a Qt/QML app that displays graph.
How can I write the code to receive incoming data. I have no idea. I am new to Qt.
Anyone has done this before?
Please outline the steps I need to take.
What parts of documentation I need to read?
Examples and tutorials? -
@Sajjad-Ali hello.Generally you will need to understand how UDP protocol is working.After that you can check QUdpSocket from Qt.
here are some links that can helphttps://www.techtarget.com/searchnetworking/definition/UDP-User-Datagram-Protocol
https://www.bogotobogo.com/Qt/Qt5_QUdpSocket.phpThe second link is a tutorial how to implement UDP protocol in Qt.
Also Consider the creation of a Class that will handle the udp communication and port it to your QML Interface. -
@Sajjad-Ali Start here: https://doc.qt.io/qt-6/qudpsocket.html
You will also find links to example applications there.