niHSDIO_ConfigureDigitalLevelPauseTrigger

NI Digital Waveform Generator/Analyzer

niHSDIO_ConfigureDigitalLevelPauseTrigger

Specific Function

C Function Prototype

ViStatus niHSDIO_ConfigureDigitalLevelPauseTrigger (ViSession vi, ViConstString source, ViInt32 triggerWhen);

Purpose

Configures the Pause trigger for level triggering. The operation is paused when the trigger is active.

Parameters

Name Type Description
vi ViSession This handle identifies your instrument session. vi was obtained from the niHSDIO_InitAcquisitionSession or niHSDIO_InitGenerationSession function.
source ViConstString You may specify any valid source terminal for this trigger. Trigger voltages and positions are only relevant if the source of the trigger is from the front panel connectors.

Refer to NIHSDIO_ATTR_DIGITAL_LEVEL_PAUSE_TRIGGER_SOURCE for possible values.
triggerWhen ViInt32 Specifies the active level for the desired trigger.

Defined Values

NIHSDIO_VAL_HIGH (34)—Trigger is active while its source is high level.
NIHSDIO_VAL_LOW (35)—Trigger is active while its source is low level.

Default Value: NIHSDIO_VAL_HIGH

Return Value