SetCarrierFrequency(string, double)
- Updated2025-10-13
- 1 minute(s) read
Sets the center frequency, in hertz (Hz), of the carrier, relative to the RF center frequency.
Syntax
Namespace: NationalInstruments.RFmx.SpecAnMX
public int SetCarrierFrequency(string selectorString, double value)
Remarks
This method maps to the RFmxSpecAn_ACPSetCarrierFrequency() 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 | double | Specifies the center frequency, in 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.