I've searched LabView and multifunction DAQ message boards as well as examples for this, and did find many different ways a square wave pulse can be used to drive an LED. What I'd like to be able to do is to modify square wave parameters in real time. From the examples directory I used Gen Dig Pulse Train - Continuous, where you can set digital pulse parameters before entering the while loop. But even when I wrap DAQmx create channel (CO Pulse Freq), Daqmx Timing, DAQmx Start task, and Clear task in a while loop together with text input controls, it still wouldn't let me change those parameters while the vi is running. I'd really like to be able to change the frequency and the duty cycle of the digital pulse generator without having to stop the VI. The input controls do allow you to change the values, but these changes are not reflected on the oscilloscope until after the VI is restarted... Am I doing somethign wrong? I'm using PCI-6052E DAQ board with 1 8-line digital I/O port. Thanks.
P.S. Application: driving an LED with varying frequency and duty cycle pulse.