Table Of Contents

DAQmx Create Virtual Channel (Analog Input » Sound Pressure) (G Dataflow)

Last Modified: July 19, 2019

Creates channel(s) that use a microphone to measure sound pressure.


task in

task in specifies the task to which to add the virtual channels this node creates. If you do not specify a task, NI-DAQmx creates a task for you, and adds the virtual channels this node creates to that task.


physical channels

physical channels specifies the names of the physical channels to use to create virtual channels. The DAQmx physical channel constant lists all physical channels on devices and modules installed in the system.

You can also wire a string that contains a list, or range of physical channels, to this input. If you have an array of physical channels, use the DAQmx Flatten Channel String node to convert the array to a list.


name to assign

name to assign specifies a name to assign to the virtual channel this node creates. If you do not wire a value to this input, NI-DAQmx uses the physical channel name as the virtual channel name.

If you use this input to provide your own names for the virtual channels, you must use the names when you refer to these channels in other NI-DAQmx nodes, such as the source input of the DAQmx Trigger node.

If you create multiple virtual channels with one DAQmx Create Virtual Channel node, you can specify a comma-separated list of names to assign to the virtual channels. If you provide fewer names than the number of virtual channels you create, NI-DAQmx automatically assigns names to the virtual channels.



units specifies the units to use to return sound pressure measurements.

Name Description
From Custom Scale

Units a custom scale specifies. If you select this value, you must wire a custom scale name to the custom scale name input.




error in

error in describes error conditions that occur before this node runs. This input provides standard 'error in' functionality.


maximum sound pressure level

maximum sound pressure level is the maximum instantaneous sound pressure level you expect to measure. This value is in decibels, referenced to 20 micropascals.


input terminal configuration

input terminal configuration specifies the input terminal configuration for the channel.

Name Description

At run time, NI-DAQmx chooses the default terminal configuration for the channel.


Differential mode.


Non-referenced single-ended mode.


Pseudodifferential mode.


Referenced single-ended mode.


custom scale name

custom scale name specifies the name of a custom scale for the channel.


microphone sensitivity

microphone sensitivity is the sensitivity of the microphone. Specify this value in mV/Pa.


task out

task out is a reference to the task after this node runs. The task contains any newly created virtual channels. If you did not wire a value to task in, NI-DAQmx automatically creates the task this output refers to.


current excitation

current excitation specifies the source of excitation.

Name Description

Use an excitation source other than the built-in excitation source of the device. If you select this value, you must use the current excitation value input to specify the amount of excitation.


Use the built-in excitation source of the device. If you select this value, you must use the current excitation value input to specify the amount of excitation.


Supply no excitation to the channel.


current excitation value

current excitation value specifies in amperes the amount of excitation to supply to the sensor. Refer to the sensor documentation to determine this value.


error out

error out contains error information. If error in indicates that an error occurred before this node ran, error out contains the same error information. Otherwise, error out describes the error status that this node produces.

Where This Node Can Run:

Desktop OS: Windows

FPGA: LabVIEW NXG does not support FPGA devices

Web Server: Not supported in VIs that run in a web application

Recently Viewed Topics