Main Content

loLockedStatus

Lock status of local oscillators

Since R2025a

Add-On Required: This feature requires the Wireless Testbench™ Support Package for NI™ USRP™ Radios add-on.

Description

status = loLockedStatus(radio) returns the lock status status of the local oscillators (LOs) on the radio associated with the radio object radio. The LOs are locked when they have stabilized at the desired frequency and phase.

For more information about LO sharing, see Phase Synchronize Operations on NI USRP Radios.

example

Examples

collapse all

Create a radio object, specifying a radio setup configuration previously saved using the Radio Setup wizard.

radio = radioConfigurations("MyRadio");

Check the lock status of the LOs on the radio.

status = loLockedStatus(radio)
status = logical
   1

Input Arguments

collapse all

Radio object, specified as a radio object that corresponds to a radio setup configuration you saved using the Radio Setup wizard.

To create a radio object, call the radioConfigurations function with the name of your radio setup configuration. For example, for a radio setup configuration named MyRadio, call radio = radioConfigurations("MyRadio").

Output Arguments

collapse all

Lock status of LOs on the radio, returned as 0(false) or 1(true).

Data Types: logical

Version History

Introduced in R2025a