Acquire Data in LabVIEW Using DAQ Analog Input in PXI Real-Time

Updated Mar 14, 2024

Environment

Hardware

  • PXIe-8880
  • PXI Analog Input Module

Software

  • LabVIEW
  • LabVIEW Real-Time Module

Driver

  • NI-DAQmx

NI PXI Real-Time systems offer real-time data acquisition with flexible hardware options and deterministic performance. Utilizing the NI-DAQmx driver and LabVIEW integration, users can develop custom applications.

In this tutorial, you will learn about how to use DAQ Analog Input in NI PXI Real-Time system to acquire the data using LabVIEW.
 

Hardware Setup

  • PXIe-8880 RT
  • PXI-6230 Analog Input


Software Setup

  • LabVIEW 
  • LabVIEW Real Time
  • NI-DAQmx driver
 
  1. Make sure that your PXI RT Controller is connected and recognized in NI Measurement & Automation Explorer (NI-MAX).
  2. Install NI-DAQmx driver on your RT Controller. You can check the installation status by navigating to Remote System >> PXI RT Controller >> Software >> NI-DAQmx in NI-MAX. If you do not have the driver, follow this link to Install Software on NI Linux Real-Time PXI Controllers.
2024-03-13_15h51_14.png
  1. Open the Test Panels in NI-MAX to ensure that the Analog Input hardware connected to your RT Controller is functioning properly.
  2. Go to the Analog Input tab, select the appropriate channel, and configure the settings. Start data acquisition to confirm that you receive the correct signal from the analog input channel.
2024-03-13_15h52_19.png
  1. Open LabVIEW and create a project.
  2. Right-click in the LabVIEW project explorer and select New >> Target and Devices.
2024-03-14_10h58_45.png
  1. Choose Existing target or device >> Discover an existing target(s) or device(s) and locate your PXI RT system.
2024-03-13_15h50_36.png
  1. Create a new VI under the RT system in your LabVIEW project.
  2. In this tutorial we utilize the Voltage - Continuous Input VI from the shipping examples as an example VI.
2024-03-13_15h49_57.png
  1. Open the VI and configure the settings to match those used in the Test Panel.
  2. Run the VI and observe the acquired data on the Acquired Data graph.2024-03-13_15h53_14.png

Was this information helpful?

Yes

No