Table of Contents

Method ConfigureTriggerDigitalEdge

Namespace
NationalInstruments.SemiconductorTestLibrary.InstrumentAbstraction.DCPower
Assembly
NationalInstruments.SemiconductorTestLibrary.Extensions.dll

ConfigureTriggerDigitalEdge(DCPowerSessionsBundle, TriggerType, string, DCPowerTriggerEdge)

Configures a digital edge trigger for the selected TriggerType: MeasureTrigger, PulseTrigger, SequenceAdvanceTrigger, SourceTrigger, and StartTrigger.

public static void ConfigureTriggerDigitalEdge(this DCPowerSessionsBundle sessionsBundle, TriggerType triggerType, string tiggerTerminal, DCPowerTriggerEdge triggerEdge = DCPowerTriggerEdge.Rising)

Parameters

sessionsBundle DCPowerSessionsBundle

The DCPowerSessionsBundle object.

triggerType TriggerType

Type of trigger, either MeasureTrigger, PulseTrigger, SequenceAdvanceTrigger, SourceTrigger, StartTrigger.

tiggerTerminal string

The input terminal to configure the trigger to look for a Digital Edge.

This is the fully qualified terminal string, which should be in the form of

"/Dev1/PXI_Trig0"
, where Dev1 is the instrument generating the trigger and PXI_Trig0 is the trigger line the trigger is being sent on.

Note that the input terminal can also be a terminal from another instrument or channel.

For example, you can set the input terminal on Dev1 to be /Dev2/Engine0/SourceCompleteEvent, where Engine0 is channel 0.

triggerEdge DCPowerTriggerEdge

The digital edge to look for, either NationalInstruments.ModularInstruments.NIDCPower.DCPowerTriggerEdge.Rising or NationalInstruments.ModularInstruments.NIDCPower.DCPowerTriggerEdge.Falling.