My goal is to generate two lines of finite pulse chain using tradition DAQ and PCI-6023E. The frequency for both line are the same, between 1Hz to 15Hz. And both pulse widths is 50us. The signal on the second line should be 120us delay according to the first line.
My thought is the use counter 0 to generate the first line, and use counter 0's output to trigger counter 1 to generate the sencond line. For I donn't really need the percise frequency of the signal, I use the time delay vi in the "for" procedure to control regenerating pulse.
I have achieved to get a single pulse on both line. The problem is, when I put the single pulse generation code into the "for" procedure, it can not work well. For example, 100 pulses are expected, but it get a random number of pulses such as 8,5 even 0 pluses.
What makes me more confused is that the program works well in the Labview 6i before, but it doesn't work in current version Labview 7.1.
Attached please find my code to generate single pulse and multiple pulse.