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

Home » Public Forums » archive » IDL CW_ANIMATE
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
IDL CW_ANIMATE [message #1429] Fri, 12 November 1993 14:14
dean is currently offline  dean
Messages: 55
Registered: March 1993
Member
I am working on this IDL widget that will read in a HDF file and either
display it with WIDGET_DRAW or loop several of them with CW_ANIMATION. I am
having problems with CW_ANIMATION.

It will read in the HDF files and display them as they are loaded into
CW_ANIMATE, but once the animation starts, the animation hangs up.

Can someone tell me how to correct this? I am currently working with
IDL 3.0 on a VAX/VMS. The PRO LOOP is called by another widget LOOP_LIST
which creates a list of image to animate.

Kelly Dean
CSU/CIRA

------------------------------------------------------------ -----------------
PRO LOOP
COMMON CURRENT, filetype, filename, nwin, window_id
COMMON DISDATA, xsize,ysize,image
COMMON LOOP_INFO, loop_files, tnwin

base = widget_base(TITLE='Image Bar Animation')
animate = CW_ANIMATE(base, xsize, ysize, tnwin)
WIDGET_CONTROL, /REALIZE, base
for i = 0, tnwin-1 DO BEGIN
filename = loop_files(i)
READ_MY_HDF
CW_ANIMATE_LOAD, animate, FRAME = i, IMAGE = image, /ORDER
ENDFOR
WIDGET_CONTROL, message, SET_VALUE = loop_mess
CW_ANIMATE_RUN, animate, 50
XMANAGER, "LOOP", base
END
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Double precision FFT in IDL???
Next Topic: Bug in TVRD ??

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

Current Time: Wed Oct 08 14:32:57 PDT 2025

Total time taken to generate the page: 0.00553 seconds