lesther

Trouble using _CommAPI_GetCommTimeouts

1 post in this topic

Hi,

I´m trying to use the _CommAPI_GetCommTimeouts command from CommAPI.au3, but I have no luck...  

Does any one have already used this command before, or have an example using it? and also the _CommAPI_SetCommTimeouts? 

Why use this command?

Because I have to open a com port using the file_create and file_read, but when using it (file_read) sometimes I get hanged when I don´t receive a character on the com port.. so the script get hanged waiting for some data to move on...

I believe that setting a timeout on the com port I can move on when no character is received... (please correct me if I´m wrong...)

 

Thanks in advance!

 

 

 

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