From: Rolf K. <rol...@ci...> - 2004-02-29 21:31:58
|
> -----Original Message----- > From: Jim Kring [mailto:ji...@ji...] > Sent: Sat, February 28, 2004 7:42 PM > To: 'OpenGToolkit-Developers' > Subject: LabVIEW SSH Tools >=20 >=20 > Hello all, >=20 > I was wondering if anyone has done any work with LabVIEW and=20 > SSH. I was > looking at the PuTTY FAQ to see if there was a programmatic=20 > interface and > saw the following: >=20 > <http://www.chiark.greenend.org.uk/~sgtatham/putty/faq.html#A.4.3> >=20 > ##############=20 > Probably your best bet is to use Plink, the command-line=20 > connection tool. If > you can start Plink as a second Windows process, and arrange for your > primary process to be able to send data to the Plink process,=20 > and receive > data from it, through pipes, then you should be able to make=20 > SSH connections > from your program. >=20 > This is what CVS for Windows does, for example. > ############## >=20 > I haven't done any works with pipes in Windows and did a little bit of > research. I found the following on MSDN: >=20 > = <http://msdn.microsoft.com/library/default.asp?url=3D/library/en-us/dllpr= oc/base/creating_a_child_process_with_redirected_input_and_output.asp> Has anyone gotten pipes working in LabVIEW? Would anyone more C++ savvy than myself be interested in working with me to get a generic "System = Exec w/ Pipes" working? I envision a DLL that could be called from LabVIEW = (or maybe LabVIEW could call WinAPI DLLs directly) with functions for = Spawning the Process (the command-line executable), Reading from, and Writing to = a Pipe for communication with the running executable. Regards, -Jim ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id438&op=3Dick _______________________________________________ OpenGToolkit-Developers mailing list Ope...@li... https://lists.sourceforge.net/lists/listinfo/opengtoolkit-developers |