Main Content

gpsLockedStatus

Lock status of GPSDO to GPS constellation

Since R2025a

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

Description

gpsLocked = gpsLockedStatus(radio) returns the lock status gpsLocked of the global positioning system disciplined oscillator (GPSDO) to the GPS constellation on the radio associated with the radio object radio.

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 GPSDO on the radio to the GPS constellation.

status = gpsLockedStatus(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 the GPSDO to the GPS constellation, returned as 0(false) or 1(true).

Data Types: logical

Version History

Introduced in R2025a