SetFrequencyReferenceFrequency(string, double)
- Updated2025-10-13
- 1 minute(s) read
Sets the Reference Clock rate, when the Frequency Reference Source method is set to ClkIn or RefIn. This value is expressed in Hz.
Syntax
Namespace: NationalInstruments.RFmx.InstrMX
public int SetFrequencyReferenceFrequency(string channelName, double value)
Remarks
This method sets the value of FrequencyReferenceFrequency attribute.Supported devices: PXIe-5644/5645/5646, PXIe-5663/5663E/5665/5668, PXIe-5820/5830/5831/5832/5840/5841/5842/5860. The default value is 10 MHz.Valid valuesPXIe-5644/5645/5646, PXIe-5663/5663E, PXIe-5820/5830/5831/5832/5840/5841/584210 MHzPXIe-5665/56685 MHz to 100 MHz (inclusive), in increments of 1 MHz, PXIe-5860: 10 MHz, 100 MHz .
Parameters
| Name | Type | Description |
|---|---|---|
| channelName | string | Pass an empty string. |
| value | double | Specifies the Reference Clock rate, when the Frequency Reference Source method is set to ClkIn or RefIn. 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.