Hi DCPJ,
In order to change the duty cycle of a continuous generation pulse train you need to use a two input DAQmx Channel Property Node to update the duty cycle and frequency . To update the duty cycle write a new value to CO.Pulse.Duty and write the desired frequency to CO.Pulse.Freq. You must update both the duty cycle and the frequency at the same time even if your frequency is not changing. This is because DAQmx requires that you update both when you change the duty cycle. The Knowledge Base article linked below talks about this and has an example VI.
Why Can't I Change the Duty Cycle on My Continuous Pulse Train?
http://digital.ni.com/public.nsf/allkb/82C9F3C15F62974E86256EBA0058CAF5?OpenDocument
I hope this helps
Thanks
Nathan
Nathan
NI Chief Hardware Engineer