Using LabVIEW I would like to create a pipe to PERL so that I can interactively execute PERL commands. I have been trying to create the PIPE with the command line "perl.exe -de 42" to start up the debugger, but it opens a terminal window and requires me to type in the commands. It appears as if the PERL debugger does not connect to the standard IO streams.
I am using:
Windows 2000
LabVIEW: 7.0
OpenG Pipe Toolkit: From CVS on April 6, 2005
Perl: ActivePERL 5.22
Does anyone know how to get this to work? Is there a way to tell PERL (or the PERL debugger) to attached to the standard input and output streams? Any other ideas?
Unfortunately I must keep perl.exe running for what I am doing and cannot call it with a number of small scripts.
I've attached a test VI (including the necessary PIPE vi's from CVS) if anyones interested in testing. You will need ActivePERL V5.22 installed, be running windows NT/2000/XP and will have to update the PERL5LIB path on the block diagram. The test VI demonstrates that the DIR command works as expected, while the PERL command does not.
BTW, there does seem to be a bug in the openG pipe library where the first call to it doesn't properly attach to the standard output stream. You can see this with the test VI without installing PERL.
Thanks for the help
Download File:post-2949-1144443407.llb