VUMOV Name
VUMOV Purpose
View a res file movie. Category
Calling Sequence
vumov Inputs
Keyword Parameters
Keywords
ORDER=ord, or /ORDER controls y reversal (1=reverse y).
BUTTONS=txt Label text for custom buttons.
Each button entry must have a command entry.
COMMAND=cmd Names of custom routines.
txt and cmd can be scalars or arrays.
The given routines must take two args, file and
frame number. File is the res file name, frame number
is the movie frame. The res file may be accessed by
the routine without interferring.
Outputs
Common Blocks
vumov_event_com Notes
Notes: FORMAT OF THE MOVIE RES FILE.
The movie file is an ordinary res file (see resopen,
resput,rescom, resclose, resget).
The movie frames are named FRAME_0, FRAME_1, and so on.
Frames must be numbered consecutively (need not start at
0). Optional is an array of times as JS called TIME_JS.
Also optional is a text array called ID which will display
in place of the time if both given.
An optional color table may be given in the res file
with tag names RED, GREEN, BLUE for the R,G,B components.
Other data is allowed in the movie res file and may
be used by the custom routines if desired.
The custom commands may be embedded directly in the movie
res file if desired. Just include the keyword pair
BUTTON and COMMAND for each custom command. These values
will be picked out of the file when opened and used as if
given in the command line. Do not give on command also.
Modification History
res file.
R. Sterner, 1998 Jun 19 --- from vuex.
res file.
R. Sterner, 1998 Oct 1
R. Sterner, 1998 Nov 04 --- Removed need for XSIZE and YSIZE
and made detect image type.
R. Sterner, 2004 Feb 11 --- Added speed slider.
R. Sterner, 2004 Apr 21 --- Allowed ID array in res file.
R. Sterner, 2004 Apr 22 --- Now works in device,decomp=0
R. Sterner, 2004 Apr 23 --- Closed assoc lun before new.
R. Sterner, 2004 Apr 23 --- Stopped movie on OPEN.
R. Sterner, 2004 Apr 27 --- Used scrolling window when needed.
R. Sterner, 2004 Apr 29 --- Changed call to xtxtin.
R. Sterner, 2006 Jan 24 --- Fixed error handling in custom routine call.
R. Sterner, 2007 May 01 --- Added /free for new window.
Copyright (C) 1998, Johns Hopkins University/Applied Physics Laboratory
This software may be used, copied, or redistributed as long as it is not
sold and this copyright notice is reproduced on each copy made. This
routine is provided as is without any express or implied warranties
whatsoever. Other limitations apply as described in the file disclaimer.txt.