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.
distancePerPulse
Type: SystemDouble
The distance to measure for each pulse the encoder generates on signal A or signal B. This value is in the units specified with the units input.
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.