NIRFSG_ATTR_LO_SOURCE
- Updated2025-05-22
- 2 minute(s) read
NIRFSG_ATTR_LO_SOURCE
Numeric Value | Data type |
Access | Coercion | High Level Functions |
---|---|---|---|---|
1150150 | ViString | R/W | None | None |
Description
Specifies whether to use the internal or external local oscillator (LO) source. If the NIRFSG_ATTR_LO_SOURCE attribute is set to "" (empty string), NI-RFSG uses the internal LO source. To set this attribute, the NI-RFSG device must be in the Configuration state.
To use this attribute for the PXIe-5830/5831/5832, you must use the channelName parameter of the niRFSG_SetAttributeViString function to specify the name of the channel you are configuring. You can configure the LO1 and LO2 channels by using lo1 or lo2 as the channel string, or set the channel string to lo1,lo2 to configure both channels. For all other devices, the the only valid value for the channel string is "" (empty string).
![]() |
Note For the PXIe-5841 with PXIe-5655, RF list mode is not supported when this attribute is set to NIRFSG_VAL_LO_SOURCE_SG_SA_SHARED_STR. |
Defined Values:
NIRFSG_VAL_LO_SOURCE_ONBOARD_STR | Uses an internal LO as the LO source. If you specify an internal LO source, the LO is generated inside the device itself. PXIe-5831/5832—This configuration uses the onboard LO of the PXIe-3622, using the LO2 stage. PXIe-5831/5832 with PXIe-5653—This configuration uses the onboard LO of the PXIe-5653 when associated with the PXIe-3622. PXIe-5841 with PXIe-5655—This configuration uses the onboard LO of the PXIe-5655. PXIe-5842—This configuration uses the onboard LO of the PXIe-5655. Cables between modules are required as shown in the Getting Started Guide for the instrument. |
NIRFSG_VAL_LO_SOURCE_LO_IN_STR | Uses an external LO as the LO source. Connect a signal to the LO IN connector on the device and use the NIRFSG_ATTR_UPCONVERTER_CENTER_FREQUENCY attribute to specify the LO frequency. |
NIRFSG_VAL_LO_SOURCE_SECONDARY_STR | Uses the PXIe-5831/5840 internal LO as the LO source. This value is valid only on the PXIe-5831 with PXIe-5653 and PXIe-5832 with PXIe-5653. |
NIRFSG_VAL_LO_SOURCE_SG_SA_SHARED_STR | Uses the same internal LO during NI-RFSA and NI-RFSG sessions. NI-RFSG selects an internal synthesizer and the synthesizer signal is switched to both the RF In and RF Out mixers. This value is valid only on the PXIe-5830/5831/5832/5841 with PXIe-5655/5842. |
NIRFSG_VAL_LO_SOURCE_AUTOMATIC_SG_SA_SHARED_STR | NI-RFSG internally makes the configuration to share the LO between NI-RFSA and NI-RFSG. This value is valid only on the PXIe-5820/5830/5831/5832/5840/5841/5842. |
Default Value: NIRFSG_VAL_LO_SOURCE_ONBOARD_STR
Supported Devices: PXIe-5644/5645/5646, PXIe-5830/5831/5832/5840/5841/5842
Related Topics