Visual Basic(Microsoft) - RS232 Communication

Sam443

Senior member
Aug 22, 2000
204
0
0
Even though my question is VBA related, a VB front end will do. I have posted several times trying to find the right way to read data coming in on the RS232 port(eg. Com1) but have received little success. Can anyone help me with this problem.
I have an electronic scale that has an RS232 port on it. I have made up a serial cable according to the manufacturers spec's, and would like to see the data the scale is sending to the port. There are several ways in which to configure the scale in terms of when it will actually send the data. Currently I have set it so that it sends data when the scale stabilizes, 19200 baud rate, 7 Data bits, no parity and 1 Stop bit. From what I understand one should even be able to see the data coming in from within Hyperterminal, I have not been able to have success with this, so I tried using mscomm32 but have limited knowledge as to how to use this active-x component. Could someone please assist me in getting the active-x to communicate with the scale. Any help will be greatly appreciated.
PS The help file for the active-x has me totally confused, any help in the form of explanations would be greatly appreciated.