Sets the index of the range used to store and retrieve spurious emission (Spur) traces. This method is not used if you set the spur all traces enabled to FALSE. When you set this method to -1, the measurement stores and retrieves traces for all enabled ranges.

Syntax

Namespace: NationalInstruments.RFmx.SpecAnMX

public int SetTraceRangeIndex(string selectorString, int value)

Remarks

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

Parameters

NameTypeDescription
selectorStringstring

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

valueint

Specifies the index of the range used to store and retrieve Spur traces. This method is not used if you set the spur all traces enabled to FALSE. When you set this method to -1, the measurement stores and retrieves traces for all enabled ranges.

Returns

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