09-08-2007 01:15 PM
10-01-2007 06:40 AM
10-01-2007 07:10 AM
10-03-2007 02:32 AM
10-04-2007 03:40 AM
10-09-2007 05:40 AM
10-15-2007 05:56 AM
In DOS, when we type bash, we will get bash$ prompt(only when you have cygwin installed). At this prompt, we can execute unix commands.
With Systemexec.vi, executed bash. Got bash$ prompt with dos window open. Now how should we pass unix commands to the same dos window.
10-16-2007 07:10 AM
10-16-2007 10:32 PM
10-17-2007 10:33 AM
@iftu wrote:
Found following VI's in ogpipe.llb under the ZIP file. Didn't find PING Example.viOGPIPE Write To Pipe__ogtk.vi
OGPIPE RefNum__ogtk.ctl
OGPIPE Read From Pipe__ogtk.vi
OGPIPE Open System Command__ogtk.vi
OGPIPE Open Pipe__ogtk.vi
OGPIPE Close Pipe__ogtk.vi
OGPIPE - VI TREE__ogtk.vi
PING Example is not in that archive. This is only the actual PIPE function library. What you want to do is using "OGPIPE Open System Command" to create the pipe handles for stdin and stdout and optinally stderr. Then use "OGPIPE Write To Pipe" to write to stdin and "OGPIPE Read From Pipe" to read from stdout and optionally stderr. When finished close each opened pipe handle with "OGPIPE Close Pipe".
Rolf Kalbermatter