Replace the Sequencer with a Loop to do what you want if you program in the VPE. Otherwise, edit MRI_2.net and before the play; command, issue:

palindrome on;
loop on;
play;

I now see that there must be a bug there somewhere. If I drop into script mode and do the following:

dx> include "MRI_2.net";
dx> palindrome on;
dx> loop on;
dx> play;

It works as advertised, but if you put these in the file or do the following:

dx -script MRI_2.net -scriptcmd "palindrome on; loop on; play;"

Then it only runs through it forward-backward and then exits. Not sure where in the code this is broke, but I bet its somewhere in vcr.c:ExVCRAdvance or somewhere similar (there is a note in there something about EOF stopping it--do a search on that and read the note). It may even be a feature so you can get in an infinite loop with the sequencer--but not sure.

Anybody else have any bright ideas? I will file a bug if I don't hear from anyone.

David


Hello,

I'm trying to loop the MRI_2.net demo from a script
file that the user only has to click once and then it
just goes. I've been able to get it to play, but not
to loop. If I enter dx -script and manually type it in
it works, but using echo to feed the prompt doesnt.
I'm pretty much stuck here. Running 2.4.20, gcc-3.2.2,
and openDX 4.3.0

Thanks,
Timothy Bumpus

=====
--
Timothy Bumpus
Graduate Student
Clarkson University
[EMAIL PROTECTED]

__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com


--
.............................................................................
David L. Thompson                   Visualization and Imagery Solutions, Inc.
mailto:[EMAIL PROTECTED]    5515 Skyway Drive, Missoula, MT 59804
                                    Phone : (406)756-7472

Reply via email to