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.
Question
hargan123
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
Link to comment
Share on other sites
9 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now