"sfeam" <sfeam@[EMAIL PROTECTED]
> wrote in message
news:gbqtsn$ain$1@[EMAIL PROTECTED]
> type of application. I suggest that instead of fighting with the
> mis-match between what you want to do and what Windows was designed for,
> you instead reconsider your choice of operating environments.
> Either change to linux, or install an operating layer such as cygwin
> on top of Windows. In both of these, the use of pipes is trivial, and
> the tools you want to use are designed to make this easy.
The problem is that the Perl program I have developed is going to be sent
as
a freeware .exe program to researchers around the world who know
absolutely
nothing about computer programming (not that I know that much myself) and
who are using Windows. Otherwise I would have just had people install a
Perl compiler. A lot of time could have been saved.
Because of the im****tance of the effort we will have to go originally at
least with what we have to work with. And that means Windows, a Perl .exe
program, and pgnuplot.exe plus wgnuplot.exe. Additionally, my programming
colleague can create .exe programs using only an older version of Basic.
I
am having Perl call his programs when needed. And I am presently trying
to
get him organized with sending data to Gnuplot for plotting rather than
having Basic attempt that.
That Perl to Gnuplot pipe code I listed appears to work quite well. And I
have been learning a number of procedures to use with it to get the
desired
results such as maximizing the plot window and then telling it to remember
that configuration (right click on the top of the window, choose
"options,"
and have it save the results as wgnuplot.ini).
So, this effort is gradually getting there. But so far I can't see how
there is any way to get Gnuplot to send information directly back to Perl
through a pipe. That apparently has to be done by storing the information
in a data file that Perl can then read.
Perhaps when I talk with the Perl people in their Newsgroup they will have
some type of recommendation regarding that limitation. Fortunately with
my
program that is nowhere near as im****tant as Perl sending commands
directly
to Gnuplot. I am relieved to have learned how to do that. Having Perl
store Gnuplot commands in files that it would then read and execute worked
but had problems.


|