PDA

Click to See Complete Forum and Search --> : Heart Signal Display Program


amos_ng
May 17th, 2001, 02:37 PM
Hi there,

I am an engineering college student doing a final project on the 'Transmission of Heart Sounds'

It is basically a stethoscope with a electret mic used accuire the heart sounds.
The heart sounds are transmitted wirelessly by a FM transmitter and recieved by a FM receiver.
The received signal is then converted to digital form by an ADC.
(Most probably using a micro-controller)

The digital signal is then interfaced to a serial port of a PC and being displayed on a computer program.


My question is:

1)Is Visual Basic able create a program to display the heart signals ?
Or do I need to using some other software that is more technical (eg. Matlab....)

2)If Visual Basic is able to do so, what area of VB must I read up on ?


Would appreaciate your help.

Thank You
Amos

jim mcnamara
May 17th, 2001, 04:49 PM
Go to Planet Source Code (http://www.planetsourcecode.com)

Search under VB for serial or for mscomm or com port.

All of this code shows the use of the MSComm control, which, like a lot of Microsoft stuff, is poorly documented. MSComm is the easiest way to talk to a serial port.

Second, yes, VB can display a lot of different data. The MSChart control can take real-time information and display it faster than it can come in via serial port. It can produce 3D or 2D real time graphs. You will need a decent PC, not a low end Pentium 60 like most colleges have.

MSDN (http://www.msdn.microsoft.com) has sample code for MSChart.

Some sample code also comes on the MSDN CDROM distibuted with VB.

Get Loren Eidal's 'Using Visual Basic 6', Platinum Edition. It covers almost anything you would need to know. From Que Press.

Megatron
May 17th, 2001, 05:59 PM
Personally, I would use C++ for software that interacts with hardware.