|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
visual program..please!!
Dear sir,
I have one pressure sensor which measures A/D data and this sensor has rs232 connection to com1 port to my computer. I have made an excelsheet for linearizing readings from sensor. But now I have to take values from this sensor direct to the excelsheet. What are different ways for doing this? Can I program macro for getting values from serial port. And.. I want real time graph. Please mail me soon the solution of my problem.. Thanking you and waiting eagerly for your reply |
|
#2
|
||||
|
||||
|
If you use HyperTerminal (in Windows, under Start->All Programs->Accessories->Communications) and set your Com Port to monitor for the appropriate baud rate, stop bits, number of bits/word, and parity, you should be able to determine whether you are getting data over the COM Port. If you are, then there are COM controls, such as MSCom in VB6, to communicate with the COM port using those settings. I would suggest writing a procedure with a Timer to fire every few seconds to update your graph.
__________________
Fisherman "Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius -- and a lot of courage -- to move in the opposite direction." - A.Einstein |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > Visual Basic Programming > visual program..please!! |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|