Configures the acquisition sample rate, in samples per second (S/s), for the AMPM measurement.

Syntax

Namespace: NationalInstruments.RFmx.SpecAnMX

public int ConfigureMeasurementSampleRate(string selectorString, RFmxSpecAnMXAmpmMeasurementSampleRateMode sampleRateMode, double sampleRate)

Remarks

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

Parameters

NameTypeDescription
selectorStringstring

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

sampleRateModeRFmxSpecAnMXAmpmMeasurementSampleRateMode

Specifies whether the acquisition sample rate is based on the reference waveform.

sampleRatedouble

Specifies the acquisition sample rate, in S/s, when you set the sampleRateMode parameter to User.

Returns

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