Software Archive
Read-only legacy content
17061 Discussions

Serial port communications

Intel_C_Intel
Employee
469 Views
We have developed a small application which uses serial ports to connect to othr hardware. The code uses SPORT_CONNECT, SPORT_CANCEL_IO, SPORT_SET_STATE, SPORT_SET_TIMEOUTS, SPORT_WRITE_LINE, SPORT_READ_LINE and SPORT_RELEASE on COM1 and COM2. It runs much slower than desired, about 1/10th of the baud rates of 38.4k and 19.2k. Other apps on the same PC transfer data to the ports much faster. Any ideas?
0 Kudos
2 Replies
durisinm
Novice
469 Views
How did you configure the port parameters? How do you measure your application's performance so that you know it is running slowly? What other applications are running faster?

Mike Durisin
0 Kudos
Intel_C_Intel
Employee
469 Views
This has now been fixed by upgrading from VF6.5 to VF6.5a. Performance now seems O.K. though I haven't yet mad precise measurements.
0 Kudos
Reply