To download NI software, including the products shown below, visit ni.com/downloads.
Overview
This example showshow to manually apply a scale to DAQmx acquired data
Description
DAQmx has a really easy way of applying a custom scales to your channels. But there may be a time where you want to read and record the raw voltges along with the scaled voltages. In this case you would need to manually apply the scales in LabVIEW.
The attached code is an expansion of the continuos acquisition DAQmx example. The part that is added is the auto-indexing For-loop. The constants wired to the loop will be used in the formula node to set the slope and intercept of the linear scale being applied in the Formula Node.
Requirements
LabVIEW 2012 (or Compatible)
Steps to Implement or Execute Code
Main VI Snippet:
**This document has been updated to meet the current required format for the NI Code Exchange.**
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.