NI cDAQ Console using wxPython
The productivity of Python is impressive, even though it might not be the best choice for core programming tasks.
Application Architecture:
- GUI Part: The GUI layer is developed using the
wxPythonlibrary. - Data Acquisition Part: The
nidaqmxlibrary is utilized to communicate with and control the NI DAQ devices. - Data Visualization Part: The
matplotliblibrary is integrated into the GUI for real-time visualization of acquired data. - Control Logic Part: This layer manages user interactions, data acquisition threads, and data visualization updates.
Thread Management:
- Analog Data Collection: A separate thread collects analog data from specified channels using the
nidaqmxlibrary. - Digital Data Collection: Another thread collects digital data from the specified channel using the
nidaqmxlibrary.
jy
