SetMeasurementSampleRate(string, double)
- Updated2025-10-13
- 1 minute(s) read
Sets the acquisition sample rate, in S/s, when you set the SetMeasurementSampleRateMode(string, RFmxSpecAnMXIdpdMeasurementSampleRateMode) is User. Users should read back the actual sample rate used by the measurement. Actual sample rate may differ from requested sample rate in order to ensure a waveform is phase continuous.
Syntax
Namespace: NationalInstruments.RFmx.SpecAnMX
public int SetMeasurementSampleRate(string selectorString, double value)
Remarks
This method sets the value of IdpdMeasurementSampleRate attribute.The default value is 120000000.
Parameters
| Name | Type | Description |
|---|---|---|
| selectorString | string | Pass an empty string. The signal name that is passed when creating the signal configuration is used. |
| value | double | Specifies the acquisition sample rate, in S/s, when you set the SetMeasurementSampleRateMode(string, RFmxSpecAnMXIdpdMeasurementSampleRateMode) is User. Users should read back the actual sample rate used by the measurement. Actual sample rate may differ from requested sample rate in order to ensure a waveform is phase continuous. |
Returns
Returns the status code of this method. The status code either indicates success or describes a warning condition.