Hello Attached is a VI that has one analogue out in a form of a user inputed equation, which is made up of two frequencies. A second waveform if generated but not outputed (WV2). It is used as reference signal to generate TTL pulses at every zero crossing on a digital line. With Help of an ni engineer I manged to get a pulse at every zero crossing for a one Hertz wave, but do not get any pulses at higher frequencies to show on the scope even though the boolean indicated a digital output. I am sure that to find the zero crossing I need to use a shift register, but I am not sure how to incorporate it in the VI as apposed to using array max and min. I need the timing to be accurate so that the delay between the zero crossing and the TTL output is the minimum possilbe. Also I would like for the digital line to go to zero after my application is done as it stays at five. Furthermore is ther anyway I can change the pulse width or duration.
Thank you
Ala