LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to integrate a peak

Hi everyonne, i'm looking for a program who can integrate the peak.

 

I use this program that I found in this foro but the area always apears zero... I don't know how to solve 

 

is anyone who now about ?¿

 

 

thanks...

 

 

I'm a beginner, srry for my english is so bad >.<

Download All
0 Kudos
Message 1 of 5
(3,168 Views)

Well, it's going to be hard for any of us (except if the one who wrote the VI, if s/he's on the forums) to fix what you have since the funny-looking node with many inputs and outputs is called a Code Interface Node and means that what is behind it is written in some other language (hit ctrl-H to bring up context-sensitive help and sit your cursor on the node to see). So I would suggest writing your own code with the LabVIEW tools available.

 

You'll probably want to use the Peak Detector VI, maybe the Threshold Detector and/or some Filtering (smoothing) VI, then the Numerical Integration VI. Before you write your code, however, you really have to sit down and decide things like how you are going to determine a peak's start and end, whether you are going to want to split peaks which do not come down to baseline in between, and the maximum and minimum width of a peak in your application. Then write code to put that into practice. There are many options valid for different applications, and we can not tell you which one you want to use here.

 

Cameron

 

To err is human, but to really foul it up requires a computer.
The optimist believes we are in the best of all possible worlds - the pessimist fears this is true.
Profanity is the one language all programmers know best.
An expert is someone who has made all the possible mistakes.

To learn something about LabVIEW at no extra cost, work the online LabVIEW tutorial(s):

LabVIEW Unit 1 - Getting Started</ a>
Learn to Use LabVIEW with MyDAQ</ a>
0 Kudos
Message 2 of 5
(3,155 Views)

hi jocuma,

does samples.txt contain some example data you want to integrate?

 

 

You could use uneven integration.vi or numeric integration.vi from the mathematics>Integration & Differentiation VIs palette, like this:

 

2013-07-23_num-integration.png

 

 

 

 

Regards,
Alex

0 Kudos
Message 3 of 5
(3,138 Views)

hi people thanks for your answers....

 

Alex I tried your VI and the result2 it's good 😉

 

it works perfectly ^^

 

 

Now... I need more help srry.. I want to see the max peak on the Y is it possible to do thiss? 

 

 

 

0 Kudos
Message 4 of 5
(3,133 Views)

I find the solution thanks ^^

0 Kudos
Message 5 of 5
(3,123 Views)