Example Program Drafts

cancel
Showing results for 
Search instead for 
Did you mean: 

Simple Data Logger Using NI-DAQmx for LabVIEW NXG

Overview

This example acquires AI data and performs inline datalogging to a text file of the user's choosing using NI-DAQmx with support for LabVIEW NXG for Data Acquisition Hardware..

Description

This example acquires AI data and writes it to a waveform chart. It also performs inline datalogging to a text file of the user's choosing. The acquisition rate is implemented as a timer outside of the DAQmx API.

Hardware and Software Requirements

Hardware

DAQ card with at least one Analog Input (AI) channel

 

Software

NI-DAQmx 17.0 or compatible

LabVIEW NXG 1.0 or compatible

 

Steps to Implement or Execute Code

1. Select the Analog Input channels you want to acquire data on.

2. Select the time before points.

3. Run the code.

4. Click the 'Stop' button to end the acquisition.

Additional Information or References

Contributors