NI Home
Cart Cart | Help
Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Currently Being Moderated

Save NI-DAQmx Tasks, Channels, and Scales within LabVIEW

VERSION 1

Created on: Sep 10, 2008 2:32 PM by Dan King - Last Modified:  Sep 10, 2008 2:37 PM by Dan King

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 run will configure their system with the tasks, channels, and scales you defined.

Example Descriptions:
Create and Save Task--Shows how to programmatically create and save an NI-DAQmx task.

Create and Save Global Channel--Shows how to programmatically create and save an NI-DAQmx Global Virtual Channel.

Create and Save Scale--Shows how to programmatically create and save an NI-DAQmx linear scale.

Create and Save Task, Channel, and Scale--This is the most complicated of the four examples, so it is encourage you understand the first three examples before running this example. What this example does is create and save a linear scale. Then a DAQmx Global Virtual Channel is created which references the linear scale. The Global Virtual Channel is then saved. Finally, a DAQmx Task is created which references the DAQmx Global Virtual Channel which was just saved. The Task is then saved. So in the end you have a Task which references a Global Virtual Channel which references a Scale.

 

Downloads:
Average User Rating
(0 ratings)




There are no comments on this document

More Like This

  • Retrieving data ...