GetTriggerStatus Method

NI Vision for Visual Basic

GetTriggerStatus Method

Syntax

CWIMAQ.GetTriggerStatus Line, Status

Return Type

Long

Returns 0 if no error or warning; returns a negative number to indicate an error; returns a positive number to indicate a warning.

Purpose

Obsolete—Use CWIMAQSignal.Status instead.

Returns the status on a trigger line you specify.

Remarks

Call this method to sample the current TTL level of a specific trigger line. You cannot use this method during an ongoing acquisition. This method also returns an error if it is used to sample the state of a fifth RTSI line while four are already in use.

Parameters

Line As CWIMAQTriggerLines

Trigger Line.

Status As Boolean

True if the trigger is currently enabled; False if it is not enabled.

See Also

CWIMAQSignal.Status