This example demonstrates the procedure required to apply different NI-DAQmx custom scales to each virtual channel in a task using NI-DAQmx with support for LabVIEW NXG.
In this example, a DAQmx Task property node is used to obtain the respective task's virtual channels and store them in an array. A for loop then iterates through the array and a DAQmx Channel property node is used to create a custom scale for each virtual channel. With these scales configured, a finite acquisition is implemented and the scaled channels are plotted.
Software
Hardware
Download the contents of the attached ZIP file and run the Multiple Scales in DAQmx GVI. The user will need to specify his or her DAQ device's physical channels, appropriate timing parameters, and the desired scaling parameters.
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.