maybe you faced with my same problem?
then, try taking this script as an example of DSP parameters value management