ConfigureRangeSweepTime(string, RFmxSpecAnMXSpurSweepTimeAuto, double)
- Updated2025-10-13
- 1 minute(s) read
Configures the sweep time.
Syntax
Namespace: NationalInstruments.RFmx.SpecAnMX
public int ConfigureRangeSweepTime(string selectorString, RFmxSpecAnMXSpurSweepTimeAuto sweepTimeAuto, double sweepTimeInterval)
Remarks
This method maps to the RFmxSpecAn_SpurCfgRangeSweepTime() function in C.
Parameters
| Name | Type | Description |
|---|---|---|
| selectorString | string | Specifies the range number. Example: "range0". You can use the BuildRangeString2(string, int) method to build the selector string. |
| sweepTimeAuto | RFmxSpecAnMXSpurSweepTimeAuto | Specifies whether the measurement computes the sweep time. |
| sweepTimeInterval | double | Specifies the sweep time, in seconds, when you set the SetRangeSweepTimeAuto(string, RFmxSpecAnMXSpurSweepTimeAuto) to False. |
Returns
Returns the status code of this method. The status code either indicates success or describes an error or warning condition.