Example Programs

Showing results for 
Search instead for 
Did you mean: 

Create Multiple Scales for One Task Using LabVIEW with DAQmx


This VI demonstrates how to create multiple scales for one task.


By using multiple DAQmx Create Channel VIs and DAQmx Channel Property nodes, one can easily assign any Physical Channel within the task a specific scale.  This VI uses the DAQmx Create Scale VI to define the scale's parameters, but this can be replaced with a constant that maps to custom scales created in MAX. This example is useful if one needs to adjust different measurements (or generations) of a device(s) within a task by different factors.  Here, this example depicts how a linear (SCALE1) and polynomial scale (SCALE2) can be assigned to different channels in the same task.


  • LabVIEW 2012 (or compatible)

Steps to Implement or Execute Code

  1. Set up one task and two channels in VI block diagram.
  2. Run the VI, the linear scale and polynominal scale will be assigned to the two channels respectively.


Additional Information or References
VI Snippet


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


Sara Lewandroski
Applications Engineer | National Instruments