Hello,
With the function generator example, you should be able to generate a square wave with variable duty cycle. Currently the duty cycle input is not wired, and is defaulted to 50%. You have to add that input to the main vi and wire it to the "compute waveform.vi"
also to generate a diferent duty cycle during runtime, the duty cycle has to be bundled to the bundle that checks changes of the input parameters (amplitude, offset etc)
It should work, and you should view and examone the waveform on an Oscope, as the duty cyle changes and see if there are delays (in cycles) before the new wave form is generated.