Method ConfigureTriggerDigitalEdge
- 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
DCPowerSessionsBundleThe DCPowerSessionsBundle object.
triggerType
TriggerTypeType of trigger, either MeasureTrigger, PulseTrigger, SequenceAdvanceTrigger, SourceTrigger, StartTrigger.
tiggerTerminal
stringThe 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
, where Dev1 is the instrument generating the trigger and PXI_Trig0 is the trigger line the trigger is being sent on."/Dev1/PXI_Trig0"
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
DCPowerTriggerEdgeThe digital edge to look for, either NationalInstruments.ModularInstruments.NIDCPower.DCPowerTriggerEdge.Rising or NationalInstruments.ModularInstruments.NIDCPower.DCPowerTriggerEdge.Falling.