RFmxSpecAnMXIQConfiguration.SetSampleRate Method
- Updated2024-07-17
- 1 minute(s) read
RFmx
Sets the acquisition sample rate, in samples per second (S/s).
Namespace: NationalInstruments.RFmx.SpecAnMX
Assembly: NationalInstruments.RFmx.SpecAnMX.Fx40 (in NationalInstruments.RFmx.SpecAnMX.Fx40.dll) Version: 24.5.0.49286 (24.5.0.49286)
Syntax
public int SetSampleRate( string selectorString, double value )
Public Function SetSampleRate ( selectorString As String, value As Double ) As Integer
Parameters
- 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.
Return Value
Int32Returns the status code of this method. The status code either indicates success or describes an error or warning condition.
Remarks
This method maps to the RFmxSpecAn_IQSetSampleRate() function in C.