Input
|
Name |
Type |
Description |
taskHandle
|
TaskHandle |
The task to which to add the channels that this function creates. |
physicalChannel
|
const char []
|
The names of the physical channels to use to create virtual channels. You can specify a list or range of physical channels. |
nameToAssignToChannel
|
const char []
|
The name(s) to assign to the created virtual channel(s). If you do not specify a name, NI-DAQmx uses the physical channel name as the virtual channel name. If you specify your own names for nameToAssignToChannel, you must use the names when you refer to these channels in other NI-DAQmx functions.
If you create multiple virtual channels with one call to this function, you can specify a list of names separated by commas. If you provide fewer names than the number of virtual channels you create, NI-DAQmx automatically assigns names to the virtual channels. |
terminalConfig
|
int32 |
The input terminal configuration for the channel.
Value |
|
Description |
DAQmx_Val_Cfg_Default (-1) |
|
At run time, NI-DAQmx chooses the default terminal configuration for the channel. |
DAQmx_Val_RSE
|
|
Referenced single-ended mode
|
DAQmx_Val_NRSE
|
|
Nonreferenced single-ended mode
|
DAQmx_Val_Diff
|
|
Differential mode
|
DAQmx_Val_PseudoDiff
|
|
Pseudodifferential mode
|
|
minVal
|
float64 |
The minimum value, in units, that you expect to measure. |
maxVal
|
float64 |
The maximum value, in units, that you expect to measure. |
units
|
int32 |
The units to use to return the voltage measurements.
Name |
|
Description |
DAQmx_Val_Volts
|
|
volts |
DAQmx_Val_FromCustomScale
|
|
Units a custom scale specifies. Use customScaleName to specify a custom scale. |
|
customScaleName
|
const char []
|
The name of a custom scale to apply to the channel. To use this parameter, you must set units to DAQmx_Val_FromCustomScale. If you do not set units to DAQmx_Val_FromCustomScale, you must set customScaleName to NULL. |