Previous in Forum: "C" Input Overloading   Next in Forum: Working with CAD
Close
Close
Close
11 comments
Rate Comments: Nested
Member

Join Date: Nov 2006
Location: Kullu (H.P) India
Posts: 9

What Does Refresh Do?

12/06/2006 12:03 AM

Hellow fellows

I am an electrical engineer. While working on computer a question strikes in my mind. I hope you all can give me good reasons. I wan't to know that what is basically happening when we are performing refresh operation on our computer screen.

Thanks and regards

Register to Reply
Interested in this topic? By joining CR4 you can "subscribe" to
this discussion and receive notification when new comments are added.
Guru
Philippines - Member - New Member Engineering Fields - Instrumentation Engineering - New Member Engineering Fields - Control Engineering - Who am I?

Join Date: Oct 2006
Location: Northern Mindanao, Philippines
Posts: 2147
Good Answers: 53
#1

Re: What Does Refresh Do?

12/06/2006 7:41 AM

Refresh just updates the information on the screen.

Say you have a folder open and then open Word and make a document. Then you save that document to the open folder (using File/Save or File/Save As). The folder won't show the document. The document will appear on the folder only after you refresh.

For some reason, Microsoft didn't put an auto-refresh feature in Windows. I don't know about Macs but Windows doesn't have this feature.

__________________
Miscommunication: when what people heard you say differs from what you said. Make yourself understood.
Register to Reply
The Architect
Engineering Fields - Software Engineering - S/W Architect Popular Science - Evolution - Fascinating! Fans of Old Computers - TRS-80 - A fine computer United States - US - Statue of Liberty - NY

Join Date: Dec 2004
Location: GlobalSpec, Troy NY
Posts: 386
Good Answers: 5
#2

Re: What Does Refresh Do?

12/07/2006 1:01 PM

Can you be more specific than "on our computer screen"?

This could potentially be a "deep" question about how GUI programs interact with the OS, but I don't want to go there if the other poster already answered your question.

__________________
Mark Gaulin
Register to Reply
Anonymous Poster
#8
In reply to #2

Re: What Does Refresh Do?

03/01/2008 10:10 AM

please tell us about how GUI interacts with OS we really want to know about it or if you can refer some book or website to know about it.

Register to Reply
Power-User

Join Date: Nov 2006
Location: SE MI USA
Posts: 105
#3

Re: What Does Refresh Do?

12/07/2006 5:03 PM

Its been a few years since I've done any Windows programming but the basic idea for MS Windows is that it will will send a Refresh or Paint request/command to all of the application(s) that it wants to refresh and each application is to respond to the request by rePainting its client window. If the Refresh is for the entire desktop, then each application that is not minimized will get a RePaint/Refresh request ciommand. If the Refresh is just for a specific area of a client's window then the request will be just sent to the appication that owns that window. Many applications will use the Refresh/Repaint request command to update the information in the window also so much of what you experience will be dependent on the application. I'm sure I've messed up some of the details but that is the idea behind it.

Register to Reply
Anonymous Poster
#4

Re: What Does Refresh Do?

12/07/2006 6:42 PM

Every display has refresh rate. Its how fast a frame is displaied on the screen. Refresh is just erase the old frame and display the next.

Register to Reply
Guru

Join Date: Sep 2006
Posts: 4513
Good Answers: 88
#5

Re: What Does Refresh Do?

12/08/2006 9:04 AM

As one poster pointed out, "refresh" means different things to different people. But as you pointed out that you're an electrical engineer, I'll assume you're asking from an electronics perspective.

When you refresh a screen (in the CRT sense, not the LCD sense) you are re-painting the raster. Starting at the top-left corner, the electron beam repeatedly sweeps across the screen from left-to-right, exciting the phosphors on the interior face of the screen. In a color display, three electron beams are swept as a unit, one beam for each of the red, green, and blue phosphors. After the beam has reached the right edge of the screen, it begins at the left edge and sweeps across again, but this time slightly below the first "line."

As the beam is scanned in this way, the video memory is read out synchronously with the beam's position so that every pixel location in video RAM corresponds to a precise physical location on the screen. The currents from the three electron guns at the back of the CRT are modulated by the color values stored at each pixel address in video RAM. The digital values are converted to analog voltages (or currents, depending on the specific implementation) that determine the three electron-gun currents. The currents, in turn, determine the intensity of each of the R,G,B colors at that location on the screen. The combination of the R,G,B intensities determine the overall color of the "pixel" (pixel = PixEl = Picture Element). This is all highly simplified, of course, as a great deal of other electronics are involved.

If the screen is repainted fast enough, it appears to us as a solid image. In reality it is only an intense dot of light which changes color as it is rapidly swept across the screen. Phosphors have varying amounts of "persistence," or afterglow, but the duration of the afterglow is pretty short for most CRTs (in some specialized CRTs a long-persistance phosphor is used, but these are seldom color CRTs). If you slowed down the scan rate enough, you'd see this moving dot followed by a short trail of light, making it look like a comet. For refresh rates below a certain value called the "fusion frequency," below which the eye no longer integrates the scan into an image, the image begins to noticeably flicker. Older monitors had this problem because video RAM and especially, the video Digital-to-Analog converters (or Video DACs), available at the time simply weren't fast enough to handle the data rates needed for high resolution, high refresh-rate images.

Hopefully this answers the right question to a small degree.

-e

Register to Reply
Anonymous Poster
#6
In reply to #5

Re: What Does Refresh Do?

04/12/2007 4:27 AM

thank you for help

but when we referesh our screen it looks that information is updated for example if we made document file and save it but it will not appear in that folder unless we referesh the screen.

but your answer is very satisfactory thank you again

Register to Reply
Anonymous Poster
#7

Re: What Does Refresh Do?

10/23/2007 3:19 AM

well not in to tooo much but it refresh the ram conatins

Register to Reply
Anonymous Poster
#9

Re: What Does Refresh Do?

02/10/2009 7:37 PM

hi im habib i would also like 2 know what refreshing diuse 2 mi full siik comp

Register to Reply
Anonymous Poster
#10

Re: What Does Refresh Do?

06/01/2010 2:00 AM

to update the memory cache to get latest value.but it x not used in linux.
The dynamic RAM needs to be refreshed so that it retains the data for a longer time. As for web pages the data is stored in the cache, and refreshing the webpage updates the cache with new set of information or values and the latest information is viewed.

Register to Reply
Anonymous Poster
#11

Re: What Does Refresh Do?

10/31/2010 5:10 PM

I think now you got the answer..

Register to Reply
Register to Reply 11 comments
Copy to Clipboard

Users who posted comments:

Anonymous Poster (7); jstolaruk (1); mgaulin (1); user-deleted-13 (1); Vulcan (1)

Previous in Forum: "C" Input Overloading   Next in Forum: Working with CAD

Advertisement