I have successfully downloaded and executed the Complete PWM example here:
http://www.ni.com/white-paper/2991/en
and I know it works because the oscilloscope shows a pulse train on channel # 1.
When you run the complete PWM example it shows a Lab View GUI that allows you to select which counter terminal to use as shown below:
Instead of manually selecting "Dev1/crt0" or "Dev1/ctr1" I would like to programmatically switch this.
How can this be achieved?