Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Receive data from hardware with serial port & display it in diagram mode with VB

Status
Not open for further replies.

s.ali.siadat

Newbie level 3
Joined
Feb 5, 2006
Messages
3
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,303
hello.i want recive data from my hardware with serial port and display it in diagram mode with VB .
my data is digital (8 bit , 1bit stop bit ,1bit start bit , 1200 baud rate).
my project is monitoring ECG ( electro cardiagram) for heart.
please help me. if you have any example , please send it for me. I use this program rs232 that he or she send me, but not useful:cry::cry::cry:
 

happy2005

Member level 3
Joined
Mar 14, 2005
Messages
64
Helped
11
Reputation
22
Reaction score
3
Trophy points
1,288
Location
Turkiye
Activity points
1,940
Re: display with VB

Add your form an MSComm control object. And set its parameters as 1200,n,8,1
(1200 baud, no parity, 8 data, 1 stop bit)

activate port;
MSComm1.PortOpen=True

read port;
text1.text=MSComm1.input

write port;
MSComm1.Output="hello"

it is easy. dont cry :)
 

niket_304

Member level 4
Joined
Dec 21, 2005
Messages
72
Helped
3
Reputation
6
Reaction score
3
Trophy points
1,288
Activity points
2,002
Re: display with VB

try searching on google . ther are projects available for displaying the serial data on vb.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top