CmdrVimes Posted April 4, 2012 Share 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. Link to comment Share on other sites More sharing options...
GART13 Posted May 19, 2015 Share Posted May 19, 2015 Did you get a way to do this ?I'm also looking for disconnecting plink serial connection thanks ! Link to comment Share on other sites More sharing options...
iamtheky Posted May 19, 2015 Share 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 ") ,-. .--. ________ .-. .-. ,---. ,-. .-. .-. .-. |(| / /\ \ |\ /| |__ __||| | | || .-' | |/ / \ \_/ )/ (_) / /__\ \ |(\ / | )| | | `-' | | `-. | | / __ \ (_) | | | __ | (_)\/ | (_) | | .-. | | .-' | | \ |__| ) ( | | | | |)| | \ / | | | | | |)| | `--. | |) \ | | `-' |_| (_) | |\/| | `-' /( (_)/( __.' |((_)-' /(_| '-' '-' (__) (__) (_) (__) Link to comment Share on other sites More sharing options...
Danp2 Posted May 19, 2015 Share 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. Latest Webdriver UDF Release Webdriver Wiki FAQs Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now