Hi Afonso,
Could you please elaborate a little more your fix to the problem. Plus I don' grasp "The AFG uses the last point of the pulse as the value to hold between pulses, this is what makes it look like the pulse "inverts"."
I lowered the frequency to 10 KHz and sill get an negatve pulse on CH2 with following setup:
CH1 puls / burst, frequency 10 KHz, pulse width 20 us, 1 cycle, trigger external, 0° StartPhase
CH2 puls / burst, frequency 10 KHz, pulse width 20 us, 1 cycle, trigger external, variable StartPhase.
The result is as in the added pictures:
1) For 60° on CH2 the polarity is positive, the pulse width is stretched 4 times (this varies also) away from the 20us
2) For 170° on CH2 the polarity is negative (!!) and the width correct.
I zoomed in on the scope, you can see the output of CH2 stays high or low in function of the StartPhase!
A related thing I found is that without triggering the AFG externally and sweeping the StartPhase from -360° to +360° the output of CH2 goes (in my case) from 0V to 3V and back to 0V several times. I suppose this is NOT the correct behaviour of the AFG!!
AMHO this is a bug :-(
Groeten,
Hans