I have the ADRV9008-1 w/PCB, I am able to capture the received signal using the GUI. However, I need to automate this with Python.
Currently I am using the following code:
Link.Talise.GetRxCaptureSettings()
rx_output_rate_khz=Link.Talise.RxOutputRate_kHz
print("RxOutputRate: "+str(rx_output_rate_khz)+"kHz")
rx_data_raw=Link.PerformRxCapture(8, Link.FpgaTalise.RxTrigger.Immediate, 1, 100000)
rx_data=Link.ScaleRxCaptureData(rx_data_raw)
print("Total data points captured (I+Q): " + str(len(rx_data[0])))
print(rx_data[0])
The previous code was inserted in a script that was automatically generated by the GUI and that sets up the ADRV9008-1.
The output I get from the previous code is all zeroes:
RxOutputRate: 245760kHz
Total data points captured (I+Q): 491520
Array[float]((0.0, 0.0, 0.0, 0.0, 0.0, ... , 0.0, 0.0))
What else am I missing in the code to correctly get the received IQ arrays?
[edited by: dansm at 8:22 PM (GMT -4) on 14 Apr 2021]