The DAQ-with-Python-and-Node-RED is a DAQ application which is mainly operated using Python programming language with Node-RED to display the GUI.
DAQ used in this application is USB-5856 from Advantech. Click on the following link to find out more about the device (Product Page).
NOTE: This application is currently under development. To this extent, the author has not been able to compile the two python codes (DI & DO) into a single script.
To be able to run the application, below is the list of items required:
- Python
- Streamlit package
- Pandas package
- Paho package
- Node-RED
- Device driver & SDK
Link to the installation guide: click here
Link to the installation guide video: click here
Python example folder location: C:\Advantech\DAQNavi\Examples\Python
Anaconda packages location: C:\Users\UserName\anaconda3\envs\EnvironmentName\Lib\site-packages
Once the installation is complete, run the python script (can be found here) accordingly. Click here to see the deployment guide.
This repo also features some integration with Node-RED. The sample flow of the MQTT and GUI can be found here.