comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Here's a stupid question...
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Here's a stupid question... [message #7221] Thu, 17 October 1996 00:00
gromm is currently offline  gromm
Messages: 11
Registered: July 1996
Junior Member
Hi. I had posted once pefore about a problem with saving and restoring
pixmaps for cw_animate and there was a request for some code. I kept
getting error messages such as "Window 32 out of range or no more
windows" Well, I don't specify the window id in my code. Mainly,
because I am still unsure as to how cw_animate deals with all that stuff
(setting up the window, etc.) So, I leave that up to cw_animate. I
simply use the

cw_animate_getp, animate, pixmap_vect

command to save the pixmaps to a pixmpa vector called pixmap_vect. Then,
I give the option of saving that vector, which calls on

SAVE, <filename>, pixmap_vect, (and some other variables that are
associated with the movie)

then, I give a separate option to retrieve using

RESTORE, <filename>
...
animate=CW_ANIMATE(base, ###, ###), number_of_frames, /TRACK, $
PIXMAPS=pixmap_vect)

CW_ANIMATE_GETP, animate, pixmap_vect
...
...
...


now, should I be specifying window id or something somewhere? How can I
alleviate this problem? And can I assume that loading pixmaps is much
faster than say if I loaded the movie into one big array and saved the
array (which I have already tried and works but it takes about 4 minutes
to load).

Thanks

Gadi
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Looking for: IDL-widget routine for spectrosc. Data (Raman/IR)
Next Topic: Use of tcl/tk with PVWAVE

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 13:43:25 PDT 2025

Total time taken to generate the page: 0.00517 seconds