niRFSGPlayback Store Automatic SG SA Shared LO VI
- Updated2025-10-13
- 3 minute(s) read
Specifies whether the signal generator’s LO signal can be shared on request by the RFmx driver. It is recommended to use Automatic sharing of local oscillator (LO) in test setups that use a vector signal transceiver (VST) with the NI-RFSG to generate a signal at the DUT's input and the RFmx driver to measure the signal at the DUT's output.
When using instruments that do not have LO with excellent phase noise, to minimize the contribution of the instrument's phase noise affecting your measurement, it is recommended to share the LO between the signal generator (SG) and signal analyzer (SA).
To enable sharing signal generator’s LO with signal analyzer automatically, setup the device specific physical connections as mentioned in the following table and follow the steps in the mentioned order.
| PXIe-5840/5841/5842 | SG LO is shared with SA via an external path. Hence you must connect RF Out LO Out to RF In LO In using a cable. |
| PXIe-5830/5831/5832 | SG LO is shared with SA via an internal path. Hence the external cable connection is not required. |
- Enable Automatic SG SA Shared LO on NI-RFSG Playback Library
- Set the LO Source property to Automatic_SG_SA_Shared in RFmx
- Configure other required settings on NI-RFSG and RFmx, including selecting waveforms
- Initiate NI-RFSG
- Initiate RFmx

Inputs/Outputs
instrument handle in
—
instrument handle in identifies the instrument session. instrument handle in is obtained from either the niRFSG Initialize VI or the niRFSG Initialize With Options VI.
channel name
—
channel name this parameter is reserved for future use.
SG SA Shared LO Enabled
—
error in
—
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
instrument handle out
—
instrument handle out passes a reference from the instrument session to the next VI.
error out
—
error out contains error information. This output provides standard error out functionality. |
instrument handle in
—
channel name
—
SG SA Shared LO Enabled
—
error in
—
instrument handle out
—
error out
—