LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

BPM from analog input

Hi

 

We're currently working on a project and we got some issues finding the BPM when we connect the system to a NI USB-6009 for input.

The system works fine when we're simulating our signal, but the physical signal from a function generator connected through to the NI USB-6009 doesn't seem to work properly.

 

We've attached a little part of our system which describes this.

 

We appreciate any help you can give us.

0 Kudos
Message 1 of 6
(3,580 Views)

BPM?  Beats per minute?  I haven't had an opportunity to look at your code, but will say that there is frequently (pardon the pun) a world of difference between passing a simulated signal into a program and what it might actually see when hooked to hardware. Look at the signal using the National Instruments Measurement & Automation explorer (MAX) that installed with your hardware/LabVIEW. It should allow you to see what is coming in and then you can compare it with the "theoretical" signal your simulation generated to see how they differ.

Putnam
Certified LabVIEW Developer

Senior Test Engineer North Shore Technology, Inc.
Currently using LV 2012-LabVIEW 2018, RT8.5


LabVIEW Champion



0 Kudos
Message 2 of 6
(3,569 Views)

do you have an example of the data the you are collecting and trying to process with you code?

Tim
GHSP
0 Kudos
Message 3 of 6
(3,566 Views)

Read at least 5 seconds of data each time. That will be 5000X5=25000 samples not only 50 samples. In order to calculate BMP you need at least two compleate ecg complex. Then you read only 50 samples you will never one ECG complex That will help as a starter

 



Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
(Sorry no Labview "brag list" so far)
0 Kudos
Message 4 of 6
(3,557 Views)

Ah, EKG data. Frequently noisy in the real world, so I reiterate the looking at the incoming data to see how it differs from the simulated.

Putnam
Certified LabVIEW Developer

Senior Test Engineer North Shore Technology, Inc.
Currently using LV 2012-LabVIEW 2018, RT8.5


LabVIEW Champion



0 Kudos
Message 5 of 6
(3,551 Views)

There are some good articles about processing ECG signals using LabVIEW on our Biomedical User Group (look in the Documents area).  You will also find information about the free NI Biomedical Starter Kit which includes some good biomedical example applications and VI's for biomedical applications, as well as a discussion forum may have the answers to many of your questions already.

 

Steve

0 Kudos
Message 6 of 6
(3,548 Views)