I have developed a hardware that will give data in terms of angle of rotation. The hardware is connected to PC via serial port. I can show the value through Hyperterminal. Now i'm on the way to develope a software for it. So, I would like to know how to get the data into my user interface with C/C++ programming language? Furthermore, i would like to store it in DAT file. Anyone has done it before? Or any suggestions/ websites of tutorials that enable me to learn bout this/ any sample source codes on related works.... thanks for the help...
Get data from RS232 serial port with C/C++
Collapse
X
-
-
Originally posted by summerch2I have developed a hardware that will give data in terms of angle of rotation. The hardware is connected to PC via serial port. I can show the value through Hyperterminal. Now i'm on the way to develope a software for it. So, I would like to know how to get the data into my user interface with C/C++ programming language? Furthermore, i would like to store it in DAT file. Anyone has done it before? Or any suggestions/ websites of tutorials that enable me to learn bout this/ any sample source codes on related works.... thanks for the help... -
Originally posted by summerch2I have developed a hardware that will give data in terms of angle of rotation. The hardware is connected to PC via serial port. I can show the value through Hyperterminal. Now i'm on the way to develope a software for it. So, I would like to know how to get the data into my user interface with C/C++ programming language? Furthermore, i would like to store it in DAT file. Anyone has done it before? Or any suggestions/ websites of tutorials that enable me to learn bout this/ any sample source codes on related works.... thanks for the help...
http://www.geocities.c om/horacespider/Serial_IO/DEV-C/terminal.c
also have a look at
http://www.thescripts. com/forum/threadedpost225 1579.html#post2 251579Comment
-
Originally posted by horace1the following code works with Visual C, Borland C and DEV-C++ (using gcc)
http://www.geocities.c om/horacespider/Serial_IO/DEV-C/terminal.c
also have a look at
http://www.thescripts. com/forum/threadedpost225 1579.html#post2 251579Comment
Comment