I have a problem with the DDS output is very small (20mV) and when I change the set amplitude it didn't change at all. Earlier I was having this same problem but I was able to solve by (I think?) setting the attenuator to 0. Today I have the same problem but using the same line earlier even with 0dB I can not solve it and it is stuck at 20mV no matter the amplitude. This is the script I used
from artiq.experiment import *
self.setattr_device("urukul0_ch0") # DDS
I have tried to put some delay here and there to avoid underflow, I tried to witch the position of the set_att line, etc but nothing works.
The only error I gave is that I have a mismatch version:
Mismatch between gateware (5.7132.e8ef0ce4) and software (5.7151.76370714) versions
because I reinstall ARTIQ recently on Feb 10th (before ARTIQ 6 release). After the new install, everything (DDS included) works until today where I have this problem of the DDS amplitude (I've really seen this a few time but it usually go away after I set attenuator to 0 or I put some delay to avoid underflow).
Can you help me with this? Do you think I should flash the device? Thank you and have a nice weekend!