Configures the trigger source and polarity to abort a measurement.

Syntax

ni4133_Status NI4133_DECL ni4133_ConfigureAbortTrigger(ni4133_SessionHandle sessionHandle, const char *abortTriggerSource, ni4133_TriggerPolarity abortTriggerPolarity)

Parameters

NameDirectionTypeDescription
sessionHandle[in]ni4133_SessionHandle

Specifies the session to configure.

abortTriggerSource[in]const char *

Specifies the abort trigger source.

abortTriggerPolarity[in]ni4133_TriggerPolarity

Specifies the abort trigger polarity.

Defined Values:

Name

Value

Description

ni4133_TriggerPolarity_RisingEdge

0 (0x0)

Activiate the trigger when a rising edge is detected at the trigger input.

ni4133_TriggerPolarity_FallingEdge

1 (0x1)

Activiate the trigger when a falling edge is detected at the trigger input.

Returns

Reports the status of this operation.

To obtain a text description of the status code, call ni4133_GetErrorDescription. The general meaning of the status code is as follows:

Value

Meaning

Positive Values

Warnings

Negative Values

Errors