SetTraceRangeIndex(string, int)
- Updated2025-10-13
- 1 minute(s) read
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
| Name | Type | Description |
|---|---|---|
| selectorString | string | Pass an empty string. The signal name that is passed when creating the signal configuration is used. |
| value | int | 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.