Home > Software engineering >  Adjust the RS232 serial port receive data interval
Adjust the RS232 serial port receive data interval

Time:09-24

Now use software or super terminal electronic analytical balance data RS232 interface, receive data every time interval is 100 ms, how can I change into more than 10 s, receive data frequency fast, product test only once, about 5 minutes when weighing changes, may be yes answer, I a small white,

CodePudding user response:

The sender control or discard the received data

CodePudding user response:

Should be with a timer or acquisition thread serial data, adjust the interval

CodePudding user response:

Receiving is passive, can't predict when the sender sends data, you need to control in the sending end control, or, at the receiving end abandon a lot of the received data, data only deals with a particular moment

CodePudding user response:

If weighing data, is for you to send a command, through a serial port to you, so you send command control time is ok (active mode)
If weighing data is automatically sent to you, so you can only passive to receive, you have to accept it, but you can receive more data of abandoned. (passive)

CodePudding user response:

Specific how to operate QQ number 3059956155
  • Related