Opening the DAQ Assistant in Measurement Studio
To use a DAQmx task class in a Measurement Studio application, you must first create the DAQmx task class within the application. You must use MAX to create global virtual channels for use in Measurement Studio. Complete the following steps to create a DAQmx task class:
- Open the project in which you want to create a DAQmx task class.
- Select Project»Add New Item to open the Add New Item dialog box.
- In the Categories pane, select Measurement Studio»Assistants.
- In the Templates pane, select DAQmx Task.
- Specify a name for the DAQmx task file and click Open. The name you choose for the file becomes the class name.
- In the New DAQmx Task dialog box, specify whether to create a new task or to make a project copy of a global task that you create in MAX.
Note If you choose a global task and make changes to the task, those changes are not saved to the global task stored in MAX. - Click Finish. The DAQ Assistant opens for you to create the new task.
After you complete these steps, the DAQ Assistant adds a .mxb file to the project. The .mxb file stores the DAQmx task class configuration information. The DAQ Assistant adds references to appropriate NI class libraries to the project.