Home > Net >  C # serial port programming, use Timer to a serial port to send data continuously
C # serial port programming, use Timer to a serial port to send data continuously

Time:09-18

Found on a finished processing, the next is sent, how to prevent, bosses

CodePudding user response:

Then lead to data string bag

CodePudding user response:

Is there a big solutions

CodePudding user response:

Data transfer package? What do you use to receive TCP or UDP

CodePudding user response:

reference 3 floor night flowing haze response:
data transfer package? What do you use to receive TCP or UDP


SerialPort this agreement

CodePudding user response:

reference 3 floor night flowing haze response:
data transfer package? What do you use to receive TCP or UDP


String bag, is on a still haven't finished processing, the next is sent

CodePudding user response:

Then don't use time, with an event-driven prevent transaction accumulation, which is similar to JavaScript timeout

Function (a)
{
.

If (continue)
The timeout (function () {a (); })

}

Ensure finish again on to the next

CodePudding user response:

You can see the consumer mode, to deal with is to accept data and process data separation
  •  Tags:  
  • C #
  • Related