Admin Production ni-theme
Current Publication

Using Project-Based Tasks

LabWindows/CVI

Using Project-Based Tasks

To use your newly created task in a program, call the task creation function declared in the generated header file as shown in the following code:

#include "MyProjectBasedTask.h"

TaskHandle myTask = 0;
CreateMyProjectBasedTask (&myTask);
/* Use your DAQmx task */
DAQmxClearTask (myTask);

The Source window provides context menu items for working with project-based DAQmx tasks. You can access these context menu items by right-clicking a call to a task creation function in a Source window. The following items apply to DAQmx tasks.

Generate DAQ Example Code
Edit DAQ Task