SetCenterFrequency(string, double)
- Updated2025-10-13
- 1 minute(s) read
Sets the expected carrier frequency, in hertz (Hz), of the RF signal that needs to be acquired. The signal analyzer tunes to this frequency.
Syntax
Namespace: NationalInstruments.RFmx.SpecAnMX
public int SetCenterFrequency(string selectorString, double value)
Remarks
This method maps to the RFmxSpecAn_SetCenterFrequency() function in C.
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 expected carrier frequency, in Hz, of the RF signal that needs to be acquired. The signal analyzer tunes to this frequency. |
Returns
Returns the status code of this method. The status code either indicates success or describes an error or warning condition.