Post Go back to editing

AttributeError: object has no setter, ADRV9002 interface

Category: Software

Using the Python ADI interface with ADRV9002, I get the following error by trying to set some parameters:

AttributeError: property 'tx_dma_mode' of 'adrv9002' object has no setter

Example of code:

sdr = adi.adrv9002(uri="ip:169.254.92.202")
sdr.tx_dma_mode = "combined"    
AttributeError: property 'tx_dma_mode' of 'adrv9002' object has no setter

The same for:

  • sdr.tx0_sample_rate
    sdr.tx0_rf_bandwidth