imaqIOChangeDetectConfigure
Format
rval = imaqIOChangeDetectConfigure(IMAQIO_SESSION id, IMAQIOSignalType triggerType, unsigned long triggerNumber, IMAQIOChangeDetectMode detectMode, unsigned long filter);
Purpose
Configures the signal state change detector logic of an input line on the NI-IMAQ I/O device. Use this function to arm the detection of rising edges, falling edges, or both on the specified input trigger line.
Parameters
Name | Type | Direction |
id | IMAQIO_SESSION | input |
triggerType | IMAQIOSignalType | input |
triggerNumber | unsigned long | input |
detectMode | IMAQIOChangeDetectMode | input |
filter | unsigned | input |
Parameter Discussion
id is the ID of the session to close.
triggerType is the type of trigger line to detect a change on.
triggerNumber is the trigger number to detect a change on.
detectMode is the change detection mode. This specifies what type of edge to be sensitive to.
filter is used to suppress high-frequency noise from the change detection. After receiving an edge, the trigger line must be held steady in the new logic state for filter × (25) ns in order for the device to register a successful change detection. Set this parameter to 0 to disable filtering.