Jump to content

readr/write array ... (please, delete, wrong place)


joseLB
 Share

Recommended Posts

oops, sorry, wrong place. Someone can dele it for me, please?

Hi Martin

I know that you udf/dll has  _CommReadByteArray($pAddr,$iNum,$iWait).

Bytes sent or received can have value = 0 ?

My application is a loop all time checking if something arrived at serial port (it can´t stay waiting, as it must do other things).

When some bytes arrives, it goes getting the bytes and mounting the messages in an array.

At each 5 seconds arrives about 5K bytes, at 19.200 bauds. They arrive in a bunch at the beginning of each 5 seconds period (about 2.5 seconds receiving).

Do you have a very simple example on how to use  _CommReadByteArray and  _CommSendByteArray

Best Regards

Jose

see also: https://www.autoitscript.com/forum/topic/182549-serial-port-reading-bytes-with-value0/

 

 

Edited by joseLB
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...