I need your help to synchronize a digital output with a digital input with LabVIEW 8.2.
I have a NI6289 PCI board.
A digital output will behave as the green signal on the following diagram.
I need to generate the blue signal on a digital output, knowing a rising edge of this signal must be generated a defined time after a rising edge on the green signal (dig. input) (e.g. : here 15ms). Moreover, a falling edge must be generated a defined time after the same rising edge of the digital input (e.g. : here 35ms).
The digital output must be generated continuously. Indeed, the digital output will be repeated continuously, and the digital output must continuously behave as the following logical diagram.
The accuracy needed is one millisecond.
The green signal (input) frequency is approximately 2Hz, and can vary (< 2Hz).
I assume I need to use the internal timers, but I did not succeed in doing something correct.