Configures the digital-edge trigger.

Syntax

Namespace: NationalInstruments.RFmx.DemodMX

public int ConfigureDigitalEdgeTrigger(string selectorString, string digitalEdgeTriggerSource, RFmxDemodMXDigitalEdgeTriggerEdge digitalEdge, double triggerDelay, bool enableTrigger)

Remarks

This method maps to the RFmxDemod_CfgDigitalEdgeTrigger() function in C.

Parameters

NameTypeDescription
selectorStringstring

Pass an empty string. The signal name passed when creating the signal configuration is used.

digitalEdgeTriggerSourcestring

Specifies the source terminal for the digital-edge trigger. This parameter is used only when you set the SetTriggerType(string, RFmxDemodMXTriggerType) to DigitalEdge.

digitalEdgeRFmxDemodMXDigitalEdgeTriggerEdge

Specifies whether the signal analyzer detects a rising or falling edge on the digital-edge trigger signal. The parameter is used only when you set the SetTriggerType(string, RFmxDemodMXTriggerType) to DigitalEdge.

triggerDelaydouble

Specifies the trigger delay time, in seconds.

enableTriggerbool

True to enable the trigger; otherwise False.

Returns

Returns the status code of this method. The status code either indicates success or describes a warning condition.