Home > Software engineering >  Skip a line when the program runs
Skip a line when the program runs

Time:03-16

Program is running, mscomm1. The output="# 1000 # + X", that is the end if the next line will be skipped, but set a breakpoint at this location for runtime, the statement can be normal output,
Before also didn't contact with vb, inquire of bosses, what because this thank you

CodePudding user response:

Need real-time display of data in the for prefix DoEvents, otherwise the program on the display can't keep up with processing will not show the moment of change

CodePudding user response:

This is not cleared, is too late to show it, the end result should be "# 1000 # + X"?

CodePudding user response:

That is to control a motor to go forward, inner loop is also same, if it is too late, or too late to action, below plus time delay function, an empty interval with the output statements, still no action

CodePudding user response:

If the sentence on the for the following, they will only move once, the next cycle out of action

CodePudding user response:

Behind the control command to add a VBCRLF try
MSComm1. The Output="# 1000 # + X" + VBCRLF
  • Related