Hello everyone.
This is my first email requesting help in this forum involving experts in VB.
I have a problem with VB6 (SP6) I am trying to resolve for several months.
I am developing an application that uses a PIC microcontroller interfaced with an application in VB6 and I'm using two-way communication using MSCOMM.
I need to exploit the faster serial transmission that allows the PIC. The speed in KBaud are:
156.250
230.400
250.000
312.500
625.000
1000.000
1250.000
Just to have a reference, this is what I use to test speed:
I ask this community as I do to communicate with these speeds using VB6?Code:Private Sub Form_Load () On Error Resume Next MSComm1.CommPort = 7 'MSComm1.Settings = "19200, n, 8,1"' OK 'MSComm1.Settings = "115200, n, 8,1"' OK 'MSComm1.Settings = "128,000, N, 8,1"' no message 'MSComm1.Settings = "250000, n, 8,1"' no message 'MSComm1.Settings = "256,000, N, 8,1"' no message MSComm1.PortOpen = True MSComm1.Output = "test message"
Ciao
Leo




Reply With Quote