Configures the Reference Clock and the frequency reference source.

Syntax

Namespace: NationalInstruments.RFmx.InstrMX

public int ConfigureFrequencyReference(string channelName, string frequencyReferenceSource, double frequencyReferenceFrequency)

Parameters

NameTypeDescription
channelNamestring

Identifies the channel to which the settings must be applied. Specify an empty string as the value of this parameter.

frequencyReferenceSourcestring

Specifies the frequency reference source.
The default value for PXIe-5840 with PXIe-5653 is refIn2, else the default value is onboardClock.

frequencyReferenceFrequencydouble

Specifies the Reference Clock rate when the SetFrequencyReferenceSource(string, string) method is set to NationalInstruments.RFmx.InstrMX.RFmxInstrMXConstants.ClockIn or NationalInstruments.RFmx.InstrMX.RFmxInstrMXConstants.ReferenceIn. This value is expressed in Hz.

Returns

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