05-07-2010 02:20 PM
I use 2 programs.I have atachetted them below.
In "Line zero cross sync" I detect the crossings through zero of a sine and then for every crossing I try to write on a analog output an impulse.
The second program "sincronizare cu reteaua subvi" measures the frequency of the signal and calculates a delay time.
How can I delay the moment between detecting a zero crossing and writing the impuls, with the value calculated with the second program.
The second problem: If I use a loop to delay the time how can I make sure that the two operations will be syncronized (if I modify the frequncy of the signal during the measurement I want the second program to modify the delay time simultaneously,not with a delay).
I am using LabVIEW 8.0.
Thank you
05-09-2010 01:00 PM