Sign in to follow this  
Followers 0
defaient

Serial Port - high baud rate

3 posts in this topic

Hi

How can I use the serial ports? I've tried it using commg.dll but it's limited to 252600 (or something like this). I need to work with 921600 baud rate.

Does it matter if my port is RS232 /RS422/ RS485?

thanks!

Share this post


Link to post
Share on other sites



http://www.autoitscript.com/forum/topic/45842-serial-port-com-port-udf

Not tried it, but it's the first thing I think of when people ask about serial ports.

Share this post


Link to post
Share on other sites

Hi

How can I use the serial ports? I've tried it using commg.dll but it's limited to 252600 (or something like this). I need to work with 921600 baud rate.

Does it matter if my port is RS232 /RS422/ RS485?

thanks!

The commg udf allows you to use any value up to 2000,000 but the hardware limitations might mean that high rates don't work. It could be that the udf has comments saying that only certain baud rates are allowed but that was only true until a couple of years ago.

I don't know if RS422 or 485 work. If you use a RS232 to 485 adapter then I imagine it should work but otherwise I don't know. Maybe someone has experience with this.


Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script.

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0