HOW READ SERIAL PORT WITH VB?

R

Thread Starter

Ricardo

For a test purposes I have to get data that it is sending directly to a serial port printer(RS 232).
I know the length and structure (byte by byte) of data. Data is sending to printer every time that a operator push a device. Instead of printer I will conect a PC. How can I read data using Visual Basic o Visual Basic for Application (in
order to use Excel directly)?
Ricardo
 
Or you can use Hyperterminal and capture the text to a file. Then parse the data to an excel file with vba. I have found this method to be more flexible - easy to capture the data and the comms aren't tied to the parsing routines.
 
Top