04-21-2014 10:38 PM
Hi everyone,
I am in desperate need of help undering labview
I created a VI where you can read pressure vs. voltage but I need to solve for systolic and diastolic pressure
I am using a pressor sensor
I need help understanding how to find the x values (time) and then find the corresponding y values (pressure)
I have attached a picture of my VI and what is going into the filter is just the signal from the DAQ assistant
also ps I am so confused about this live reading, is it possible for me analyze an array (the graph data) afterwards
04-21-2014 11:04 PM
04-21-2014 11:06 PM
sorry this is a better picture of my VI
I am trying to just analyze the peaks that represent the heart rate
so if you can see by the hand drawn picture I try and subtract the best fit line (y=mx+b) from the actual signal
and then use a highpass so I can just see the peaks
the issue comes in that I do not understand how this data is stored
like how can I have x and find y
04-21-2014 11:43 PM
04-21-2014 11:46 PM
04-28-2014 04:32 PM
Hi julka41,
If you already have the best fit line, doing the subtraction should not be very difficult. I'm guessing that x represents time, so you can calculate the y value for each point in time that you need to subtract. You should be able to obtain the time information out of the dynamic data type from the DAQ Assistant and piece it back together. Please see this help document for more information on working with dynamic data. If you don't have the best fit line, you'll need to isolate the portion of the signal of interest and use one of the curve fitting VIs in LabVIEW to obtain the best fit line.
Best Regards,