This is a pilot project designed to interface with a camera and DAQ (Data Acquisition System) from an Electron-React application.
This project is divided into three main parts: the Pylon camera interface, the National Instruments DAQ (NI-DAQ) control, and the Electron desktop app.
You'll need to install some Python and Node packages to run these three components.
- Create the
bloom-desktop
environment with python 3.8 and nodejs:mamba create --name bloom-desktop python=3.8 nodejs=18 pip -c conda-forge
- Activate the environment:
mamba activate bloom-desktop
- Install pip requirements:
pip install -r requirements.txt
For controlling the NI-DAQ, you need to install some additional software from National Instruments.
LabVIEW Runtime Engine:
- Install the latest version of LabVIEW RTE 64-bit from LabVIEW Runtime. The installation comes with the NI Package Manager, which is required for managing and updating National Instruments software.
National Instruments DAQmx Driver:
- Install the latest NI-DAQmx driver from NI-DAQmx Download. The driver comes with NI Measurement & Automation Explorer (MAX), which is used to configure NI hardware devices.
To capture images from the camera, you'll need to install additional software from Basler.
Pylon
- Install the latest version of Pylon from Basler.