/daq_nidaqmx_example

Minimal working example of data acquisition with nidaqmx python API

Primary LanguagePython

Data Aquisition using NI-DAQmx python API

Based on this project

It is a minimal working example for data acquisition using the NI-DAQmx python API.

It works only in Windows systems.

Using DEBUG_MODE = True in the configuration file allows the use of the GUI without having nidaqmx installed. Data is simulated.

Content:

  • daq_interface_main.py: main script with the GUI definition

  • reader.py: definitions related to data acquisition

  • plotter.py: definitions related to visualizing the data

  • parameters.py: definition of the parameters

  • config.py: configuration file of the interface

  • misc_functions.py: keeping apart auxiliary functions

  • data_io.py: record acquiered data to file

By defoult the data is writen in Output_Data.dat (see data_io.py). One column per channel.

TODO: change in daq parameters not working (should be set in parameters.py)