Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

ASP.NET C# - Heart Rate Monitor Simulator

Posted on 2009-04-05
8
Medium Priority
?
1,638 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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
Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

 
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 2000 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

Ask an Anonymous Question!

Don't feel intimidated by what you don't know. Ask your question anonymously. It's easy! Learn more and upgrade.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Ever needed a SQL 2008 Database replicated/mirrored/log shipped on another server but you can't take the downtime inflicted by initial snapshot or disconnect while T-logs are restored or mirror applied? You can use SQL Server Initialize from Backup…
In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
Via a live example, show how to backup a database, simulate a failure backup the tail of the database transaction log and perform the restore.
Viewers will learn how the fundamental information of how to create a table.

610 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