Configures the device to wait for the complex power of the I/Q data to cross the specified threshold and then marks a reference point within the record.

Syntax

Namespace: NationalInstruments.RFmx.SpecAnMX

public int ConfigureIQPowerEdgeTrigger(string selectorString, string iqPowerEdgeTriggerSource, double iqPowerEdgeTriggerLevel, RFmxSpecAnMXIQPowerEdgeTriggerSlope iqPowerEdgeSlope, double triggerDelay, RFmxSpecAnMXTriggerMinimumQuietTimeMode minimumQuietTimeMode, double minimumQuietTimeDuration, bool enableTrigger)

Remarks

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

Parameters

NameTypeDescription
selectorStringstring

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

iqPowerEdgeTriggerSourcestring

Specifies the channel from which the device monitors the trigger.

iqPowerEdgeTriggerLeveldouble

Specifies the power level at which the device triggers. The value is expressed in dB when this parameter is set to Relative. The value is expressed in dBm when this parameter is set to Absolute. The device asserts the trigger when the signal exceeds the level specified by the value of this parameter, taking into consideration the specified slope.

iqPowerEdgeSlopeRFmxSpecAnMXIQPowerEdgeTriggerSlope

Specifies whether the device asserts the trigger when the signal power is rising or when it is falling. The device asserts the trigger when the signal power exceeds the specified level with the slope you specify.

triggerDelaydouble

Specifies the trigger delay time, in seconds.

minimumQuietTimeModeRFmxSpecAnMXTriggerMinimumQuietTimeMode

Specifies whether the measurement computes the minimum quiet time used for triggering.

minimumQuietTimeDurationdouble

Specifies the duration, in seconds, for which the signal must be quiet before the signal analyzer arms the I/Q power edge trigger. If you set SetIQPowerEdgeTriggerSlope(string, RFmxSpecAnMXIQPowerEdgeTriggerSlope) to Rising, the signal is quiet when it is below the trigger level.

enableTriggerbool

True to enable the trigger; otherwise False.

Returns

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