I.generate_waveform()

Moku model: Moku:Lab
Operating system: Ubuntu (Python API)
Software version:(601)

Bug or support request description: Dear all, I would like to generate a ramp signal which has it’s minimum at t=0.
Every time I run the cell,
i.generate_waveform(1, 'Ramp',symmetry = 50, amplitude=1,offset = 0.5,frequency=5)
send a ramp with an arbitrary start point in time. I would like the ramp to have it’s min./max. at t=0.
I am not sure, but when I use the Ipad and turn off the ramp and turn it on again, it has it’s middle value at t=0. I tried to turn off the output every time I run the cell by
i.generate_waveform(1,'Off'), but it did not help either!
I would appreciate your kind help.

Hi Saman,

With the offset you are using you’ll need to phase-shift the waveform by 270° to have that zero point of the waveform at t=0. This should give you the desired output.

i.generate_waveform(1, ‘Ramp’, symmetry=50, amplitude=1, offset=0.5, frequency=5, phase=270)

If you offset the ramp waveform in the App this should have the same effect and if you shift the waveform by 270° you’ll see that the waveform now starts and stops at t=0.

Hope this helps,
Indira