Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Graphics > Gnuplot interactive function plotter > Re: Command and...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 3 of 10 Topic 3526 of 3631
Post > Topic >>

Re: Command and Data Pipe questions

by sfeam <sfeam@[EMAIL PROTECTED] > Sep 29, 2008 at 08:57 AM

E.D.G. wrote:

> Original post by E.D.G.  September 29, 2008
> 
> Information is need regarding how to start and use command and data
> "pipes" between Gnuplot and other programs such Perl and Basic language
> programs.
> 
> This information collection effort is starting here.  Once the Gnuplot
> part of the picture is understood the effort will probably move on to a
> Perl Newsgroup for additional details.

A good rule of thumb is to first decide what applications you need to
run, then choose or configure your operating environment to match this.
In your case you are looking at very mature tools, perl and gnuplot, 
that are designed to do exactly what you want: communincate by pipes.
But Windows, at least as delivered, is not a good environment for this
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.


 
> Background Information  -  Perl and Basic language computer programs
that
> have been developed over the years by an informal research group I am in
> are
> using Gnuplot for graphics generation.  The Windows Vista, XP, and 98
> operating systems are being used.  Other systems such as Unix will added
> with time.  One of the major programs being developed is almost
completed.
> Plans are to circulate it to professional and amateur researchers around
> the
> world as "freeware."  And this present effort involves getting some
> additional details settled before the release.
> 
> At the moment, data and commands are stored in files.  And wgnuplot.exe
is
> then told to load the command files and plot information in the data
> files.
> This is an interactive process controlled by a Perl language program. 
And
> it does not work with the greatest efficiency.  We would like to try to
> see if using pipes between the programs would work better.
> 
> Information might also be shared through the clipboard.  However I am
not
> sure if Gnuplot can even read or send information to the Windows
> clipboard.
> 
> QUESTIONS
> 
> What Gnuplot program or programs have to be used for that pipes like
that?
> It sounds like both pgnuplot.exe and wpnuplot.exe need to be used at the
> same time.
> 
> What command should be used to start the appropriate Gnuplot program so
> that
> an input command pipe can be used?  Should pgnuplot be started, or
> wgnuplot.exe?  Or should a .gnu file be started that will automatically
> call one of the Gnuplot .exe programs?
> 
> What Gnuplot commands are used to have Gnuplot send data back or
commands
> back to a program such as a Perl language program?  Does the Perl
program
> have to do anything in order to receive the data?  I would imagine that
it
> needs to execute an "open input file" type statement.
 




 10 Posts in Topic:
Command and Data Pipe questions
"E.D.G." <ed  2008-09-29 06:41:57 
Re: Command and Data Pipe questions
"E.D.G." <ed  2008-09-29 07:43:26 
Re: Command and Data Pipe questions
sfeam <sfeam@[EMAIL PR  2008-09-29 08:57:04 
Re: Command and Data Pipe questions
"E.D.G." <ed  2008-09-29 12:15:30 
Re: Command and Data Pipe questions
=?ISO-8859-1?Q?Hans-Bernh  2008-09-29 21:04:36 
Re: Command and Data Pipe questions
"E.D.G." <ed  2008-09-29 20:49:42 
Re: Command and Data Pipe questions
sfeam <sfeam@[EMAIL PR  2008-09-30 08:14:36 
Re: Command and Data Pipe questions
"E.D.G." <ed  2008-09-30 11:28:54 
Re: Command and Data Pipe questions
Lionel B <me@[EMAIL PR  2008-09-30 08:01:41 
Re: Command and Data Pipe questions
"E.D.G." <ed  2008-09-30 11:20:44 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Thu Dec 4 1:25:24 CST 2008.