You can create virtual channels with the DAQmx Create Virtual Channel VI - NI or with the DAQ Assistant - NI . As explained in this article, DAQ Assistant is accessible from NI Measurement & Automation Explorer (MAX) or NI application software, to configure channels and measurement tasks.
Naming and Referencing the Virtual Channels in LabVIEW
To name the virtual channel, use the following guidelines:
- Use any alphanumeric characters.
- Do not use non-alphanumeric characters with the following exception:
- You can use underscores within the channel name, but you cannot use leading underscores, such as _Dev1.
- You must use no more than 256 characters.
With the DAQmx Create Virtual Channel VI, you can reference the channel by using a control and selecting it from the front panel:
Alternatively, you can reference it by wiring a string constant that contains the channel name in the block diagram.

You can also change your device alias name by following the directions at the end of Can I Change the NI Device Name in NI Measurement & Automation Explorer (NI MAX) - NI, and use it as the channel name in your task.
Configuring the Virtual Channels
After referencing the channel name, the final step is to complete the configuration, which depends on your specific application. You can open the context help by selecting the VI and pressing <Ctrl-H> to review the available features. The required terminals are shown in bold.

Local Virtual Channels and Global Virtual Channels
You can create global virtual channels in MAX or in your application software and save them in MAX. Global virtual channels are listed in MAX under the DAQmx Channel tree. You can use global virtual channels in any application or add them to a number of different tasks. If you modify a global virtual channel, the change affects all tasks in which you reference that global virtual channel.
Local virtual channels are created inside a task. If you create the same local virtual channel in three separate tasks, the local virtual channels are considered to be three distinct virtual channels. If one local virtual channel is modified, the other two local virtual channels remain unchanged.