Guest az_engineer Posted November 25, 2004 Posted November 25, 2004 I'd like to send commands and receive data from an RS232 serial port or a Windows Virtual Com Port. Will that work? If so, is there a way to set the comm baud rate? --az_engineer
erebus Posted November 26, 2004 Posted November 26, 2004 I don't believe that AutoIT has such a function ...yet.
dwelcher Posted November 27, 2004 Posted November 27, 2004 In the old days, we could talk to the com port like this: echo atz > com1 In Autoit3 it would be: Run( @Comspec '/c echo atz > com1' ) Or something like that ... You had to have a program to get the result back though. I think I have an old one around here somewhere ... Take care, -Dw --- "The crime bill passed by the Senate would reinstate the Federal death penalty for certain violent crimes: assassinating the President; hijacking an airliner; and murdering a government poultry inspector." - Knight Ridder News Service dispatch
normeus Posted November 28, 2004 Posted November 28, 2004 (edited) you might be able to do it in perl (with a module)but rebol can do it just fine. This is a small language but you could send Emails in a one line program so it is well built. Serial port comm is difficult because of the timing and buffering that is needed.( then again look at the samples)this is a sample in rebol of talking to a GPS but it is full of comments http://www.rebol.org/cgi-bin/cgiwrap/rebol...cript=gps-pos.r Edited November 29, 2004 by normeus http://www.autoitscript.com/autoit3/scite/...iTe4AutoIt3.exe
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