Jump to content

Trouble using _CommAPI_GetCommTimeouts


lesther
 Share

Recommended Posts

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!

 

 

 

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...