Sign in to follow this  
Followers 0
Matthy

possible to control serial port or parralel port with autoit

4 posts in this topic

im trying to send signals to a relais that you should connect to your parralel or serial port.

and i hoped i could write the controlling of the 1/O with autoit.

is that possible to send commands to the parralel or serial port sow yes where can i find more about it

cheers

matthy

Share this post


Link to post
Share on other sites



Hi,

you can try the serial port udf from martin in Scripts&... forum

Mega


Scripts & functions Organize Includes Let Scite organize the include files

Yahtzee The game "Yahtzee" (Kniffel, DiceLion)

LoginWrapper Secure scripts by adding a query (authentication)

_RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...)

Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc.

MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times

Share this post


Link to post
Share on other sites

meaby i should PM martin about this.

but i only see possebillity's to send bytes and string trough the com not a possibillity to set the I/O of port 5 on or something

Share this post


Link to post
Share on other sites

meaby i should PM martin about this.

Nah, he would probably ignore that.

but i only see possebillity's to send bytes and string trough the com not a possibillity to set the I/O of port 5 on or something

True the udf is for sending and receiving bytes. You can buy RS232 relay interface modules quite cheaply, or make your own extremely cheaply. You then only have to send the right code to turn a relay on or off.


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