Lock status of USRP radio to 10 MHz clock signal
Get USRP Lock Status
Create an SDRu receiver System object with these specified properties.
radioRx = comm.SDRuReceiver(... 'Platform','N200/N210/USRP2', ... 'IPAddress','192.168.10.2', ... 'MasterClockRate',100e6, ... 'Gain',8, ... 'CenterFrequency',2.45e9, ... 'TransportDataType','int16');
Set the clock source to be the 10 MHz clock signal from a GPSDO.
radioRx.ClockSource = 'GPSDO';
Get the lock status of the USRP radio to the 10 MHz clock signal.
lockedStatus = referenceLockedStatus(radioRx)
radio — USRP radio
comm.SDRuTransmitter System object |
comm.SDRuReceiver System object
USRP radio, specified as a
comm.SDRuReceiver System object. This radio must be connected to the host
computer. When you use this function, you must set the
ClockSource property of this System object to
refLocked — Lock status of USRP radio to 10 MHz clock signal
Lock status of the USRP radio to the 10 MHz clock signal, returned as
Introduced in R2021a