06-25-2007 10:06 AM - edited 06-25-2007 10:06 AM
Hi all
I have a PCI-6251 card with LabView 7.1.1, I am trying to read a signal which is close to a sinusoid of constant frequency (about 172 Hz) but varying amplitude. The objective of the program is to generate a TTL at every rising edge of the sine wave. The time between the rising edge and the TTL should be smaller than 15 micro seconds.
The next requirement is to generate the TTL with a certain delay after the rising edge that corresponds to the 45, 90, 180, 270, 315 and 360 phases of the sinusoidal frequency.
I believe this has something to do with phase locking but I am not sure.
Regards
Message Edited by Reza_QMUL on 06-25-2007 10:07 AM
06-26-2007 11:31 AM
06-27-2007 08:46 AM - edited 06-27-2007 08:46 AM
Hi
Thanks for your reply, I tried firing the counter output with analogue trigger but I get errors, I have attached the VI, I think its not possible to do analogue triggering with the digital or counter outputs, your help will be much appreciated.
Also I be happy as long I get one trigger per second at the rising edge (bearing in mind that I require delays that correspond to 45, 90, etc deg) of a 172 Hz analogue sine wave.
I have also have a program that generates a square wave with the rising edge corresponding to a rising edge of the sine wave, the oscillascope showed a very small delay between the two events, but I don’t know how to introduce delays that will correspond to the phase of the 172 Hz sine wave. This program is also attached (Cont Gen Voltage Wfm-Int Clk-Analog Start_REZA.vi)
regards
Message Edited by Reza_QMUL on 06-27-2007 08:55 AM
06-27-2007 10:46 AM