Type: SystemString The names of the digital lines or ports on which to detect rising edges. The lines or ports must be contained in the task. You can specify a string that defines a list or range of channels for this parameter.
diFallingEdgePhysicalChannels
Type: SystemString The names of the digital lines or ports on which to detect falling edges. The lines or ports must be contained in the task. You can specify a string that defines a list or range of channels for this parameter.
sampleMode
Type: NationalInstruments.DAQmxSampleQuantityMode The duration of the task. A task is either finite and stops when the specified number of samples have been acquired, or it is continuous and continues to acquire samples until the task is explicitly stopped.
Use this method to configure a task to acquire a finite number of samples using change detection timing.
The NI-DAQmx driver does not determine if the requested settings are possible until the task is verified. This method does not throw an exception for parameter values that are not compatible with your hardware or other settings in your task. To determine if all of the settings for a Task are valid, you must verify the task by starting the task, either with Start or by reading from or writing to the task, or by calling Control(TaskAction) with Verify.
You cannot apply this method to a subset of devices in the task, and you must apply this method to the task as a whole. You must call this method on the instance of Timing returned from the Timing property on the Task class. Accessing this method on instances of Timing returned from the ItemString property throws an exception.