CmdrVimes 0 Posted April 4, 2012 I'm trying to connect to a serial port. I've been using PuTTY fine, but I want to be able to use Stdin and Stdout to access the data feed, so I'm trying to use plink. I've followed as much information as I can from here, but everybody just seems to use ssh and not serial. Anyway, so far my script has just one line: $plink = Run('C:\tools\PuTTY\plink.exe -serial COM1 -sercfg 9600,8,1,n,N') When the script runs, the command prompt appears for a split second before vanishing again. I have almost no command-line experience so I've no idea whether I'm calling plink properly anyway, but no processes appear in task manager, so I don't know what's going on with it. Share this post Link to post Share on other sites
GART13 0 Posted May 19, 2015 Did you get a way to do this ?I'm also looking for disconnecting plink serial connection thanks ! Share this post Link to post Share on other sites
iamtheky 927 Posted May 19, 2015 in case the guy that made 9 posts 3 years ago doesnt show back up run("cmd /c taskkill /f /IM Plink.exe ") ,-. .--. ________ .-. .-. ,---. ,-. .-. .-. .-. |(| / /\ \ |\ /| |__ __||| | | || .-' | |/ / \ \_/ )/ (_) / /__\ \ |(\ / | )| | | `-' | | `-. | | / __ \ (_) | | | __ | (_)\/ | (_) | | .-. | | .-' | | \ |__| ) ( | | | | |)| | \ / | | | | | |)| | `--. | |) \ | | `-' |_| (_) | |\/| | `-' /( (_)/( __.' |((_)-' /(_| '-' '-' (__) (__) (_) (__) Share this post Link to post Share on other sites
Danp2 888 Posted May 19, 2015 The OP hasn't been online in four years, so you aren't likely to hear from him. Suggest that you start a new thread and repost your question with specifics of what you are trying to accomplish and some example code showing how you've attempted to solve it. [UDF] WebDriver Latest version Wiki FAQs Share this post Link to post Share on other sites