Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

PXI 6733 DIO pulse generator with dynamic delay and pulse width

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

 

0 Kudos
Message 1 of 2
(976 Views)

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

ALERT! LabVIEW's subscription-only policy came to an end (finally!). Unfortunately, pricing favors the captured and committed over new adopters -- so tread carefully.
0 Kudos
Message 2 of 2
(941 Views)