06-14-2023 01:48 AM
Hi,
I want to generate pulses on DIO lines of PXI 6733 board with programmable delay and pulse width. The program i used for this is attached.
With this program, i can generated delay and pulse width from micro-second to millisecond. But our requirement is micro-second to 100 Seconds.
Could you please suggest how to achieve it?
Thanks
06-15-2023 10:03 AM
The most important first thing to fix is to give your tasks time to run to completion before stopping and clearing them. Right now, you're clearing them immediately after starting them. A simple (but crude and uninterruptible) way to do it is to place a call to "DAQmx Wait Until Done" between the last start and the first clear.
-Kevin P