Solved

ASP.NET C# - Heart Rate Monitor Simulator

Posted on 2009-04-05
8
1,398 Views
Last Modified: 2012-05-06
I am working on a project.  I need to develop a heart rate simulator.  It will not be getting data from a real person.  Settings in a database will determine what the heart rate values should be.  Any idea on how to do this?  I've done some searching but can not find anything that will help me simulate this.

Thx
0
Comment
Question by:CipherIS
8 Comments
 
LVL 14

Expert Comment

by:wolfman007
ID: 24075559
I think that you could use an ASP.NET Timer Control to refresh the part of the page at set intervals.

The first time the page loads you could read the data from a database and use that to set the timer rate.

Have a look at the following tutorial for information on the Timer Control.

http://www.asp.net/ajax/documentation/live/tutorials/IntroToTimerControl.aspx
0
 
LVL 1

Expert Comment

by:Abhishekoops
ID: 24076318
Initially develop pages for getting the data from your side for storing in the sql database which you can do it with the code snippet below:
SqlConnection con = new SqlConnection("Server=You server name or comp name;Database=Yourdatabasename;Trusted_Connectopn=True");
SqlCommand cmd = new SqlCommand("Your SQL Update statement goes here...");
con.Open();
DataSet ds = new DataSet(cmd,con);
SqlDataAdapter da = new SqlDataAdapter();
da.Fill(ds);
con.Close();
 and similarly you can interface your hardware and send the required values fetching from the database to the required port with certain bit pattern.
0
 
LVL 1

Author Comment

by:CipherIS
ID: 24077431
The issue is not getting the data.  The issue is simulating the waveform for the heart beat.
Any ideas?
0
Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

 
LVL 1

Expert Comment

by:Abhishekoops
ID: 24083938
This can done by making use of the Digital to Analog converter (DAC) where certain bit pattern is accordingly converted to the equivalent analog signal which can be used to display it over the Oscilloscope.
0
 
LVL 83

Accepted Solution

by:
CodeCruiser earned 500 total points
ID: 24084810
You will use a line chart and keep updating it at an interval.

http://www.vbchart.com/gallery/gallery.aspx?category=Line&productname=Charts
0
 
LVL 1

Author Closing Comment

by:CipherIS
ID: 31566871
Thx
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
Ever wondered why sometimes your SQL Server is slow or unresponsive with connections spiking up but by the time you go in, all is well? The following article will show you how to install and configure a SQL job that will send you email alerts includ…
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now