Example Code

Archived: NI-DAQmx: Using Multiple Scales with NI-DAQmx

Code and Documents



This document has been archived and is no longer updated by National Instruments.

This example demonstrates the procedure required to apply different NI-DAQmx custom scales to each virtual channel in a task. First, you used a DAQmx task Property Node (Functions>>NI Measurements>>DAQmx - Data Acquisition>> DAQmx Advanced Task Options) to obtain the task's virtual channels. You then use a DAQmx channel Property Node (Functions>>NI Measurements>>DAQmx - Data Acquisition) to set the custom scale for each virtual channel in the task.

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