I am working on a python project using Analog Discovery Studio where I need to change the amplitude of two phase synchronized analog output channels based on a voltage acquired in an Analog input channel. I find that using fStart=3 for applying changes dynamically makes the output channels go to zero.
Attaching a toy example code where the two synchronized output channel amplitudes are changed every 10 ms by a fixed amount. For this example, the two AnalogOut channels were acquired through the two AnalogIn channels.
dwf.FDwfAnalogOutConfigure(hdwf, c_int(-1), c_int(1)) works but there is intermittency in output; there is a delay in setting new amplitudes.
dwf.FDwfAnalogOutConfigure(hdwf, c_int(-1), c_int(3)) makes outputs go to zero rather than apply immediately.
My application is similar to this: Analog Discovery 2 | Support for modulation signal input for resolver testing
Is support for modulation using external signal added now? It would be great if someone could help on this.
MasterSlaveAnalogOutModulation.py