DAQ-with-Python-and-Node-RED

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.

Device Used

DAQ used in this application is USB-5856 from Advantech. Click on the following link to find out more about the device (Product Page).

Basic User Guide 📖

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.

Installation

To be able to run the application, below is the list of items required:

  1. Python
  2. Streamlit package
  3. Pandas package
  4. Paho package
  5. Node-RED
  6. 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

Implementation

Once the installation is complete, run the python script (can be found here) accordingly. Click here to see the deployment guide.

Node-RED:link:

This repo also features some integration with Node-RED. The sample flow of the MQTT and GUI can be found here.