LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Time display is blinking

Solved!
Go to solution

Hello, I preparing customized stopwatch applications. I want refresing time a hundredth of second. In front panel I am using numeric front panel where is displayed time in hundredth of second. Time value is blinking and this is not so friendy for users, could anybody know where is reason for that. 

 

Time display blinking.png

 

0 Kudos
Message 1 of 7
(3,091 Views)

You are updating too fast. The max your eye can see is 10-20Hz, slow down that loop and you will be fine. (Add a 20 ms wait or more) Also you are updating faster than your display can respond.

 

mcduff

0 Kudos
Message 2 of 7
(3,086 Views)

@mcduff wrote:

You are updating too fast. The max your eye can see is 10-20Hz, slow down that loop and you will be fine. (Add a 20 ms wait or more) Also you are updating faster than your display can respond.

 

mcduff


I kind of disagree with the first part.  Not technically, but "aesthetically".  Anything beyond the "eye" rate that you mentioned is going to seem more "realistic" because the eye has a harder time distinguishing it from reality.  The faster the refresh rate, the more convincing (and less strain) it is to the eye.

 

To avoid tearing, you shouldn't be updating faster than your monitor's refresh rate.

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 3 of 7
(3,052 Views)

@billko

 

You are probably right about the aesthetics, but that being said, standard videos are about 25 FPS,  which is usually pretty smooth to my old eyes. This is about a frame every 50 ms. Obviously the young gamers like frame rateas in the hundreds.

 

Check out  https://en.wikipedia.org/wiki/Frame_rate the horse animation is supposedly 12FPS.

 

mcduff

0 Kudos
Message 4 of 7
(3,037 Views)

Check this link out: https://boallen.com/fps-compare.html.  even the difference between 24 fps (standard film rate) and 30 fps (video tape) is easily distinguishable.  I can instantly tell you if a video sequence was shot on tape or film.  But then again, being a photographer does train your eyes to see details no one else will ever notice.

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 5 of 7
(3,020 Views)

The 15 fps looks the worse on the link you set, and the 60 fps does look the best. But for updating a stopwatch I rather spend my CPU cycles elsewhere. Smiley Happy (For bouncing cubes, I'll spend those cycles.) Anyway, 60fps is 16.7 ms, which as an update rate should not stress the CPU, I believe the OP had an unthrottled loop.

 

Cheers,

mcduff

0 Kudos
Message 6 of 7
(3,015 Views)
Solution
Accepted by DomenRupnik

@mcduff wrote:

The 15 fps looks the worse on the link you set, and the 60 fps does look the best. But for updating a stopwatch I rather spend my CPU cycles elsewhere. Smiley Happy (For bouncing cubes, I'll spend those cycles.) Anyway, 60fps is 16.7 ms, which as an update rate should not stress the CPU, I believe the OP had an unthrottled loop.

 

Cheers,

mcduff


I'd rather have bouncing cubes than a stopwatch!  😄

 

Yes, I do agree that making a stopwatch hundredths update smoothly would not be my top priority.  🙂

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 7 of 7
(2,925 Views)