Type: SystemString
The name of the counter to use to create virtual channels.
nameToAssignChannel
Type: SystemString
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 nameToAssignChannel, 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, 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.
minimumValue
Type: SystemDouble
The minimum value, in units, that you expect to measure.
maximumValue
Type: SystemDouble
The maximum value, in units, that you expect to measure.
pulsesPerRevolution
Type: SystemUInt32
The number of pulses the encoder generates per revolution. This value is the number of pulses on either signal A or signal B, not the total number of pulses on both signal A and signal B.
With the exception of devices that support
multi-counter tasks, you create only one counter input channel at a time with this function because a task can contain only one counter input channel. To read from multiple counters simultaneously, use a separate task for each counter. Connect the input signal to the default input terminal of the counter unless you select a different input terminal.