?
Solved

ASP.NET C# - Heart Rate Monitor Simulator

Posted on 2009-04-05
8
Medium Priority
?
1,604 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
What Is Blockchain Technology?

Blockchain is a technology that underpins the success of Bitcoin and other digital currencies, but it has uses far beyond finance. Learn how blockchain works and why it is proving disruptive to other areas of IT.

 
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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

In this article we will learn how to fix  “Cannot install SQL Server 2014 Service Pack 2: Unable to install windows installer msi file” error ?
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.
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
Via a live example, show how to extract insert data into a SQL Server database table using the Import/Export option and Bulk Insert.

765 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