Allow2010 Posted April 14, 2015 Share Posted April 14, 2015 Hi, i have an app that sends out some text to the com port (it drives a simple display installed at the com port). I would like to caputure this output, so that i can show the text inside my autoit script. Is there way to do this, maybe similar to StdoutRead or StderrRead ? All ideas are welcome, thanks in advance! Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted April 14, 2015 Moderators Share Posted April 14, 2015 (edited) Did you try a forum search? One of the first things that would have popped up would be the Serial/COM UDF in the Examples forum Edited April 14, 2015 by JLogan3o13 "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum! Link to comment Share on other sites More sharing options...
Allow2010 Posted April 14, 2015 Author Share Posted April 14, 2015 yeah, i found a lot of udfs, but all of them are made to read input or write output... I want to read what another program sends out...so i think i need to somehow "spy" on what is going on at the com port. maybe this will work http://sourceforge.net/projects/com0com/ with this i can create a virtual comport and redirect its output to the input of a second virtual port...from there i should be able to read the output with an udf... Link to comment Share on other sites More sharing options...
Allow2010 Posted April 14, 2015 Author Share Posted April 14, 2015 ok, i tried com0com and it works just fine...only thing that is not so nice: you have to disable codesignung in win64 to use the com0com driver (this is normal for most free unsigned x64 drivers)... I can live with that... Now i only have to read a normal com port...i think i will be able to do this in autoit...we will see :-) 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