To set DAC output on the CN0554 using PyADI-IIO, use the .raw attribute of the DAC channel:
There’s no .write() method—use .raw to set 16-bit values (0–65535). Let me know if you need help converting voltage to raw values.
Code:
import adicn = adi.cn0554(uri="local")cn.dac.voltage0.raw = 32768 # Sets mid-scale output (~2.5V)Statistics: Posted by vatredam — Thu Sep 04, 2025 8:20 am