Example Code

Synchronize Strain Gage & Voltage Measurements with cDAQ Chassis

Products and Environment

This section reflects the products and operating system used to create the example.

To download NI software, including the products shown below, visit ni.com/downloads.

    Hardware

  • Data Acquisition (DAQ)

    Software

  • LabVIEW

    Driver

  • NI DAQmx

Code and Documents

Attachment

Overview

This example shows how to synchronize strain and voltage measurements using a cDAQ chassis.

 

Description

You can easily synchronize your strain and voltage measurements using a cDAQ chassis.

 

Requirements

 Software

  • LabVIEW 2012 or compatible
  • NI-DAQmx 9.5.5 or compatible

 Hardware

  • NI cDAQ-9178
  • C series strain gage module (NI 9219,NI 9237,etc)
  • C series analog input module (NI 9205, NI 9215,etc)

 Steps to Implement or Execute Code

    1.Choose a channel for the strain gage measurement

    2.Choose a channel for the voltage measurement

    3.Set a Sample Rate

    4.Set the number of Samples to Read

    5.Run the VI.

搜狗截图16年12月25日1736_3.png

 

 

**This document has been updated to meet the current required format for the NI Code Exchange.**

Mahdieh G
Applications Engineer
National Instruments UK&Ireland

Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.

Comments
mfitzsimons
Active Participant
Active Participant
on

Thanks!  Very helpful example.

Matthew Fitzsimons

Certified LabVIEW Architect
LabVIEW 6.1 ... 2013, LVOOP, GOOP, TestStand, DAQ, and Vison