Closed cyber-g closed 10 months ago
You can't use ftr files with the MathWorks authored system objects. They ignored that standard. You would need to use the ADI alternative adi.AD936X.Rx and Tx
Thank you for the clarification. You have my warmest thanks; I was totally stuck on the issue.
Hi, some pre-computed filters are available as
.ftr
files at: iio-oscilloscope/filters at master · analogdevicesinc/iio-oscilloscope.My main question is about how to setup the
comm.SDRTxAD936x
or thecomm.SDRRxAD936x
instance object to load those.ftr
files.The
sdrtx()
andsdrrx()
do not provide any function to load it.As a workaround, I also started to investigate this from starting from scratch with the filter design specs (like Apass, Astop, etc...). I figured out how to use the
design_filter()
to get the filter structure and I also successfully implemented the export as.ftr
based on what is done in the GUI wizard. Based on this, I wanted to reuse what is done in save2target_Callback but the core part is based onhandles.libiio_ctrl_dev
which I cannot get from mycomm.SDRTxAD936x
object.I also considered using the Wizard with input arguments like:
where
fdp
is obtained withcook_input()
. But it only opens the GUI, I still have to click on the buttons to either design the filter and upload to target.So, how should I configure the
comm.SDRTxAD936x
to use a pre-computed filter programmatically ?