DAQmx Create Virtual Channel VI
- Updated2025-07-28
- 15 minute(s) read
Creates a virtual channel or set of virtual channels and adds them to a task. The instances of this polymorphic VI correspond to the I/O type of the channel, such as analog input, digital output, or counter output; the measurement or generation to perform, such as temperature measurement, voltage generation, or event counting; and in some cases, the sensor to use, such as a thermocouple or RTD for temperature measurements.
If you use this VI within a loop without specifying a task in, NI-DAQmx creates a new task in each iteration of the loop. Use the DAQmx Clear Task VI within the loop after you are finished with the task to avoid allocating unnecessary memory. Refer to Task Creation and Destruction for more information about when NI-DAQmx creates tasks and when LabVIEW automatically destroys tasks.
The DAQmx Channel properties include additional channel configuration options.
