If you come across the error code above when using Python with a Moku device, this means that the value you are trying to set is not supported by the Moku system being used. This is due to an argument in many of our API functions (strict) that forces the input to match an exact number that we support. To fix this error, set the strict argument to False. For example…
i.generate_waveform(1, 'Square', amplitude=0.153, frequency=1e6, duty=50, strict=False)
For more information and documentation on our APIs, please visit this page.