The Weather Forecasting Forum

Discussions about the latest in meteorology, programs, tools, and techniques
It is currently Fri Oct 20, 2017 9:32 pm

All times are UTC




Post new topic Reply to topic  [ 7 posts ] 
Author Message
PostPosted: Mon Sep 04, 2006 2:20 pm 
Offline
Senior Member

Joined: Sat Aug 07, 2004 12:57 am
Posts: 128
Location: North Carolina
Hello Jeff,

Hope all is well. WINGRIDDS is AWESOME!

I have found a bug when running a macro with the ANFA command. When clicking on Windows Explorer in the task bar while running a macro with the ANFA (Animate Forecast Hours) command, the window becomes part of the animation for as long as it is the selected window. This has happened several times.

Image

AWINGRIDDS log file: http://www.bellsouthpwp.net/n/c/nckev/WINGRIDDS/060904_AWINGRIDDS.LOG

OS: Windows XP, SP2

Thank you,

Kevin


Top
 Profile  
 
 Post subject:
PostPosted: Mon Sep 04, 2006 8:41 pm 
Offline
Senior Member

Joined: Fri Jun 25, 2004 11:42 pm
Posts: 298
Hey Kevin,

Sorry but that is not a bug, that is a...er...feature. You see, the process of building the animation, to speed the final animation viewing up, WINGRIDDS (and PCGRIDDS32) does a 'snapshot' of the screen and saves it as a .BMP file in the Animation directory. WINGRIDDS does a snapshot of the viewing area but it is basicly the same. Whatever is on the screen gets captured in the animation process.

So, the lesson is, when the program is building the animation, don't go do anything else with the computer that affects the display or it will get 'caught up' in the action. Sorry, that is how the routines in the libraries I'm using
are written.

Thanks,
Jeff


Top
 Profile  
 
 Post subject: Thank you
PostPosted: Mon Sep 04, 2006 9:06 pm 
Offline
Senior Member

Joined: Sat Aug 07, 2004 12:57 am
Posts: 128
Location: North Carolina
Jeff,

Ok. Thank you for the info. The thought had crossed my mind that this was just the way it is. No big deal. I just chill out while it builds the animation hence forth and forever more.

Thanks again,

Kevin


Top
 Profile  
 
 Post subject:
PostPosted: Thu Sep 14, 2006 3:12 am 
Offline
Member

Joined: Thu Jul 15, 2004 3:42 pm
Posts: 33
Location: Kansas
Jeff,

It would definitely be a good thing to put in the documentation about capturing anything onscreen at the time.

I also wonder if there isn't a specific window capture function in Visual Fortran (or whatever is being used to create the temporary files). For example in basic Windows functionality, the PrintScrn key will capture the entire screen into the clipboard. Alt-PrintScrn will capture just the highlighted window. Is there anyway to capture a window titled "WINGRIDDS"? Just a question, I'm sure don't have the answer.

George


Top
 Profile  
 
 Post subject:
PostPosted: Thu Sep 14, 2006 11:24 am 
Offline
Senior Member

Joined: Fri Jun 25, 2004 11:42 pm
Posts: 298
George,

I'm not exactly sure I understand what it is you want. Within Compaq Visual Fortran (the compiler I'm using) the function to save the screen contents to a Bitmap file is SAVEIMAGE & within Winteracter (the environment/libraries I'm using for the Win32 GUI), the function is IGrSaveImage. For both of these functions, you define the screen area of the program window you want saved (all of the area, which is what I use, or specific area coordinates) and you define the file nale to save it to. Both of these work within the confines of the application & cannot save the contents (screen or otherwise) of any other applications. Since Windows controls everything on the screen, it can save anything on the screen.

Reguards,
Jeff


Top
 Profile  
 
 Post subject:
PostPosted: Fri Sep 15, 2006 2:45 am 
Offline
Member

Joined: Thu Jul 15, 2004 3:42 pm
Posts: 33
Location: Kansas
I just wondered if there was a functionality somewhere within visual fortran that would grab just the contents of the Wingridds window, instead of the window and anything overlaid. But there must not be.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Sep 18, 2006 12:18 pm 
Offline
Senior Member

Joined: Fri Jun 25, 2004 11:42 pm
Posts: 298
George,

I'm sorry, but I still don't quite understand what it is you want. PCGRIDDS32/WINGRIDDS (the WINGRIDDS version is broke in the Alpha release but it will work in the next one) has the command SAVS to save the current windows contents to a BMP file. What, again, is it you are asking for that SAVS does not do?

Thanks,
Jeff


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group