Hello,
i have to interface an energymeter (RS485) to the RS232 port on the PC and develope a program in Visual Basic to manipulate the data received from the meter (according to IEC1107 protocol). I must be able to read the data recieved real time and also save the data in a database for analysis. I have no basics regarding VB. Should i use Normal VB or should i go for VB.NET platform? Are there any ebooks of tutorials regarding this topic?
Please do help!..

When considering programming in a new language, go for .NET. vb6 is old, whether we like it or not.

Should you wish to go for vb6, try the following from microsoft on the RS232 cable communications -

http://http://support.microsoft.com/kb/194922

You will be using the comm dialog control to do all your data readings and transfers.

I can't answer the question of how to program the connection and get the data, but I can tell you that RS485 and RS232 are two different physical interfaces. You will need to convert one to the other. Try searching for RS485- RS232 converters for info on what is available.

Hello,
i have to interface an energymeter (RS485) to the RS232 port on the PC and develope a program in Visual Basic to manipulate the data received from the meter (according to IEC1107 protocol). I must be able to read the data recieved real time and also save the data in a database for analysis. I have no basics regarding VB. Should i use Normal VB or should i go for VB.NET platform? Are there any ebooks of tutorials regarding this topic?
Please do help!..

This article has been dead for over six months. Start a new discussion instead.