Hi,
Anyone knows how to specify the output in Python API?
I need to change the output from “50 Ohm” to “High Z” to enable 10Vpp +5V offset.
i.generate_waveform(
channel=1,
type=‘Sine’,
amplitude=10.0,
frequency=16e6,
offset=5.0,
output=‘High-Z’
)
But it gets back with “Exception occurred: WaveformGenerator.generate_waveform() got an unexpected keyword argument ‘output’”
If remove " output=‘High-Z’" then I have got this “Exception occurred: [‘Unable to set offset to desired value. Coerced value: 0.000000’, ‘Maximum output voltage +/-5 V’]”
After check with Moku app in WIN10, the output is set to “50 ohm”
I solved this by check the api ```
i.set_output_termination(1, “HiZ”)