LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to create a 60 Hz timed loop?

Hi all,

 

I want to have a 60 Hz timed while loop.

By default this block has 1 KHz clock source.

How can I change its timing source to 60 Hz?

 

Thanks in advance

0 Kudos
Message 1 of 5
(3,508 Views)

@Baran_ wrote:

Hi all,

 

I want to have a 60 Hz timed while loop.

By default this block has 1 KHz clock source.

How can I change its timing source to 60 Hz?

 

Thanks in advance


Perhaps the better question to ask is: Why?

Are you trying to generate a 60Hz signal?

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 2 of 5
(3,498 Views)

I want to display an image with submultiple of 60 Hz flickering rate, and different frequency and phase of displaying.

So I thought about doing that with a precise timed loop.

0 Kudos
Message 3 of 5
(3,473 Views)

@Baran_ wrote:

I want to display an image with submultiple of 60 Hz flickering rate, and different frequency and phase of displaying.

So I thought about doing that with a precise timed loop.


In Windows you will never get a "precise timed loop".

 

That having been said, take a look at this:  http://www.ni.com/white-paper/4120/en/

0 Kudos
Message 4 of 5
(3,467 Views)

If you don't care about jitter (which you'll have on Windows anyway) you could set the dt alternately to [16,17,17] in each iteration.

 

0 Kudos
Message 5 of 5
(3,451 Views)