GetCarrierFrequency(string, out double)
- Updated2025-10-13
- 1 minute(s) read
Gets the center frequency, in hertz (Hz), of the carrier, relative to the RF center frequency.
Syntax
Namespace: NationalInstruments.RFmx.SpecAnMX
public int GetCarrierFrequency(string selectorString, out double value)
Remarks
This method maps to the RFmxSpecAn_CHPGetCarrierFrequency() function in C.
Parameters
| Name | Type | Description |
|---|---|---|
| selectorString | string | Specifies the carrier number. Example: "carrier0". You can use the BuildCarrierString2(string, int) method to build the selector string. |
| value | out double | Upon return, contains the center frequency, in hertz (Hz), of the carrier, relative to the RF center frequency. |
Returns
Returns the status code of this method. The status code either indicates success or describes an error or warning condition.