Graph-Windows in batch mode
-
jonasdovern
- Posts: 97
- Joined: Sat Apr 11, 2009 10:30 am
Graph-Windows in batch mode
Dear RATS users,
is it true that when running in batch mode, RATS can only display one window with graphs at a time? I am working on a program that creates a complex user menu and should be started by the user in batch mode (i.e. by clicking just one short cut icon). It seems, however, that all procedures, which plot more than one graph, display only the last one after they are called by the user.
Is there any way to change the setting to be able to display more windows at a time in batch mode?
Best, Jonas
is it true that when running in batch mode, RATS can only display one window with graphs at a time? I am working on a program that creates a complex user menu and should be started by the user in batch mode (i.e. by clicking just one short cut icon). It seems, however, that all procedures, which plot more than one graph, display only the last one after they are called by the user.
Is there any way to change the setting to be able to display more windows at a time in batch mode?
Best, Jonas
Re: Graph-Windows in batch mode
The idea behind "batch" is that the program is running unattended, so there's no one to see the graphs anyway.
Do I understand correctly that what you want is a program that you double click, it loads some preliminary code that sets up a user menu and then turns control over to the user?
Do I understand correctly that what you want is a program that you double click, it loads some preliminary code that sets up a user menu and then turns control over to the user?
-
jonasdovern
- Posts: 97
- Joined: Sat Apr 11, 2009 10:30 am
Re: Graph-Windows in batch mode
Yes, thats what we want to implement. I could do that, of course, by letting the user simply double click a standard .prg file, which sources the entire preliminary code. But in that case the text file with at least the "source(noecho) xyz.src"-line will be displayed in RATS. This would be fine if there is no other way. But: Is there another way?
Re: Graph-Windows in batch mode
See whether adding
at the end of the program that you run takes care of it.
Code: Select all
cntrl(user) -
jonasdovern
- Posts: 97
- Joined: Sat Apr 11, 2009 10:30 am
Re: Graph-Windows in batch mode
I included that behind the loop that creates the user menu, i.e. at the very end of the programm that I run. It seems to make no difference with respect to the "graph-problem".