To download NI software, including the products shown below, visit ni.com/downloads.
Overview
The following examples illustrate how to programmatically save NI-DAQmx Tasks, Channels, and Scales. This allows the creation of an application which can be deployed to an end user and when ran, it will configure their system with the tasks, channels, and scales defined.
Description
The following example VIs perform the following functions:
Requirements
Software
Hardware
Steps to Implement or Execute Code
Additional Information or References
Create and Save Task Block Diagram
Create and Save Global Channel Block Diagram
Create and Save Scale Block Diagram
Create and Save Tasks Channel and Scale Block Diagram
**This document has been updated to meet the current required format for the NI Code Exchange.**
Regards,
Dan King
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.
Thanks for these examples. Can you add a further example that shows how to create/save a task that has multiple channels? For example, how to create a task that contains an array of thermocouples on 9211 cards in a cDAQ chassis? Really, an example that shows how to programmatically create/save a task with multiple channels, any channels, would be helpful.