Sets the acquisition sample rate, in samples per second (S/s), when you set the SetMeasurementSampleRateMode(string, RFmxSpecAnMXAmpmMeasurementSampleRateMode) method to User.

Syntax

Namespace: NationalInstruments.RFmx.SpecAnMX

public int SetMeasurementSampleRate(string selectorString, double value)

Remarks

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

Parameters

NameTypeDescription
selectorStringstring

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

valuedouble

Contains the acquisition sample rate, in S/s, when you set the SetMeasurementSampleRateMode(string, RFmxSpecAnMXAmpmMeasurementSampleRateMode) method to User.

Returns

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