Home > Back-end >  Questions about BCB's serial port
Questions about BCB's serial port

Time:10-11

Recent work on a project using BCB serial read the test data, but the data returned a small anomaly, as follows:

Use debug serial debugging assistant the data returned is specification, but using BCB6.0 serial port (Mycomm) controls the data received wrong too wide of the mark, so I changed a computer, use BCB2010 serial read data is not standard, the received data in began to place more than one character at a time, sometimes more than two characters), and I changed a computer, run directly BCB2010 generated executable file, the data is normal!!!! This back and forth on the three computer tried, what reason is caused? Also please warrior grant instruction!

CodePudding user response:

On the same computer, if use "serial debugging assistant" can read data correctly, and read your program is wrong, it is that your program has a problem, in a computer, "serial debugging assistant" no problem, basic and hardware has nothing to do, check your software,,,

CodePudding user response:

Serial debugging assistant can normal reading data, and have nothing to do with the computer hardware,,
The biggest problem is you read the code, or serial port Settings you program problem,
Did you set the time delay or get some data, such as,

CodePudding user response:

I set the time delay is, but I did not abandon data!!!!!!

CodePudding user response:

Take a look at the baud rate, data format, such as setting is consistent with the party and send!
  • Related