imaqIOChangeDetectQuery
Syntax
imaqIOChangeDetectQuery, id, triggerType, triggerNumber, changed
Purpose
Queries the NI-IMAQ I/O device for information about whether the given trigger line has changed. For this function to behave properly, you must have previously configured the change detector for the same trigger line using imaqIOChangeDetectConfigure. After a change has been registered for a trigger line, this function will continually report that the trigger line has changed until you reset it by calling imaqIOChangeDetectReset.
Parameters
id As IMAQIO_SESSION
The ID of the session to enable or disable shutdown on.
triggerType As IMAQIOSignalType
The type of trigger line to detect a change on.
triggerNumber As IMAQIOSignalType
The trigger number to detect a change on.
changed As Long
A pointer to a variable to receive the trigger changed information. If no change was detected, the variable will be set to 0. Otherwise, the variable will be set to 1.