basebandReceiver
Add-On Required: This feature requires the Wireless Testbench™ Support Package for NI™ USRP™ Radios add-on.
Description
Use the basebandReceiver object to configure the
      specified software-defined radio (SDR) as a baseband receiver to capture
      raw IQ data from the air.
This diagram shows a conceptual overview of capturing radio signals in Wireless Testbench™ using a radio that you configure with this object. The onboard data buffering ensures contiguous data capture. When you capture more data than the onboard memory buffer size, the data is sent directly to the host computer.
Creation
Syntax
Description
bbrx = basebandReceiver(radio)radio. 
Note
The object requires exclusive access to radio hardware resources. Before creating this object, clear any existing Wireless Testbench application object associated with the specified radio from the workspace.
bbrx = basebandReceiver(radio,PropertyName=Value)CaptureDataType="double" sets the data type of the returned captured
          data to double.
bbrx = basebandReceiver(radio,Preload=true,PropertyName=Value)
Use this syntax when you plan to schedule or synchronize operations using the radio time.
Input Arguments
Properties
Object Functions
| capture | Capture IQ data using baseband receiver or transceiver | 
| isCapturing | Status of capture running in background using baseband receiver or transceiver | 
| captureOutputs | Retrieve outputs from capture run in background using baseband receiver or transceiver | 
| stopCapture | Stop capture running in background using baseband receiver or transceiver | 
Examples
Tips
- You cannot use - saveand- loadto store and reload Wireless Testbench objects. Instead, you can re-create the object with these steps:- Write code to create a - basebandReceiverobject with a saved radio setup configuration- radioand set the properties.
- Save the code to a script. 
- Run the script in a new MATLAB® session with the same saved radio setup configuration. 
 
- To check your host performance capability for capturing data, see the Evaluate Host Capture Performance example. This example shows you how to identify the highest sample rate at which contiguous IQ data can be captured with your hardware setup.