Main Content


Test connection between host and radio hardware



testConnection(dev) tests the connection to the radio hardware specified by dev. The function checks the hardware-software compatibility, the data paths between host and radio hardware, and the RF loopback.

Before calling the function, make sure the SD card configured during hardware setup is inserted into the reader of the radio hardware. You can also configure an SD card by using the downloadImage function.

For the RF loopback test, connect a cable or antenna to the transmit-and-receive connectors.


testConnection(dev,HostIPAddress) also tests the network connection of the host computer specified by HostIPAddress.


collapse all

Make sure your radio hardware is configured for host-radio communication by following the steps in Guided Host-Radio Hardware Setup.

Create a radio object for your radio hardware.

dev = sdrdev('E3xx')
dev = 
  SDRDevE3xx with properties:

     IPAddress: ''
    DeviceName: 'E3xx'

Use this object to test host-radio connectivity.

## Pinging radio IP address
## Checking compatibility of software with hardware
## Testing data path from Zynq board to host
## All tests PASSED.
ans = logical

Input Arguments

collapse all

Interface to radio hardware, specified as a comm.SDRDevE3xx radio object. To create this object, use the sdrdev function.

IP address of the host network connection, specified as a dotted-quad character vector. This IP address is configured during hardware setup. See Guided Host-Radio Hardware Setup.

Version History

Introduced in R2016b