To download NI software, including the products shown below, visit ni.com/downloads.
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.
Steps to Implement or Execute Code
Additional Information or References
**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.