Opening the DAQ Assistant in LabVIEW
You can open the DAQ Assistant to create a task in one of the following ways:
- Place the DAQmx Task Name control on the front panel. Right-click the control, and select New DAQmx Task.
- If you are using LabVIEW 8.0 and later, you can create a task local to the Project, or you can create a task in MAX. To create a task in a Project, right-click My Computer in the Project Explorer window. Then, select New»Task.
- In LabVIEW 7.x, click the Configure pull-down menu on the main LabVIEW launch screen and select Create New Task (DAQ Assistant).
- Place the DAQ Assistant Express VI on the block diagram. This VI creates tasks that are fully contained in a single VI.
Note If you configure a task using the DAQ Assistant Express VI, the task is local to the application and cannot be saved to MAX for use in other applications. You must convert the DAQ Assistant Express VI to an NI-DAQmx Task to use the task in other applications. You can also generate code from the DAQ Assistant Express VI. Right-click the DAQ Assistant Express VI on the front panel in LabVIEW and select Generate NI-DAQmx Code. - In LabVIEW 7.x or later, select File»New and browse the From Templates folder to Data Acquisition with NI-DAQmx.
Refer to Taking an NI-DAQmx Measurement in LabVIEW in the LabVIEW Help for step-by-step instructions for creating a task in LabVIEW and generating code based on the task.
For more information about creating tasks and channels with Project in LabVIEW, refer to the LabVIEW Help.
After opening the DAQ Assistant, create the new task.