Counter/Timer

cancel
Showing results for 
Search instead for 
Did you mean: 

50Hz net synchronization

Good day.

 

I'm would like to use NI DAQ 6602 for timing system. The frequency will be changed (not on fly) from ~1-10Hz(most probably integer numbers). I have to synchronize 6602 board with external pulse 50Hz. This external signal will be coming based on the power net and in fact will have jumping frequency ~45-55 or so. I see as one of the solutions the following: If one have 3Hz for output is to start retriggerable FinitePulseTrain with 3 pulses, and then retrigger it on each 50th external pulse.(In fact such kind of synchronization (one time per second) will be enough for my purposes). But I have realized that FinitePulseTrain signal finish after the full "High" and full "Low" part of the signal will be done. That means if 50'th pulse comes before FinitePulseTrain finished -- wait another second (another 50Pulses). I tried to use pause trigger, but it doesn't much because it's remember the phase of signal. I don't know solution so far and it would be nice if someone could give me a hand. I'm using VisualBasic. But if there is no solution for it, I could try other tools C++, VI... 

Thanks,
    Denis

0 Kudos
Message 1 of 2
(5,715 Views)

Hi Denis,

 

i think on a software based solution, one counter for measure the 50 Hz and one for generate the pulse.

I couldn´t not test it because i have no hardware at the moment.

 

test.jpg

best regards
Alexander
0 Kudos
Message 2 of 2
(5,677 Views)