This project provides a Visual Studio solution for synchronizing and acquiring data from multiple USB National Instruments (NI) Data Acquisition (DAQ) devices using ANSI C and the NI-DAQmx driver. The solution includes code for synchronizing two USB-DAQ devices, each equipped with 8 analog input channels. The acquired data from all 16 analog input channels is saved to a file for further analysis.
- Synchronizes data acquisition between two USB NI DAQ devices
- Acquires data from 16 analog input channels (8 channels per device)
- Saves the acquired data to a file for subsequent analysis
- Two USB NI DAQ devices (compatible all ni-usb DAQ models)
- Visual Studio (tested with [2015])
- NI-DAQmx driver software
- Connect both USB NI DAQ devices to your computer.
- Install the NI-DAQmx driver software (download link) if it is not already installed.
- Open the Visual Studio solution provided.
- Build the solution to generate the executable.
- Run the executable.
- The program will synchronize the two devices and initiate data acquisition from all 16 analog input channels.
- The acquired data will be saved to a specified file format (e.g., CSV, TXT) for further analysis.
This code has been tested with the following USB NI DAQ devices:
Note: The code can be adapted to work with other USB NI DAQ devices by modifying the device-specific configurations and settings.
Contributions to this project are welcome. If you encounter any issues or have suggestions for improvements, please feel free to open an issue or submit a pull request.
This project is licensed under the MIT License.
Please make sure to update the placeholders in square brackets with the relevant information specific to your project.