LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

integrate 1D array over each zone (i.e.,between two adjacent data points)

Hi,

 

 I could not get the right result by using the integratex(t).vi because it is taking performing the integration from one end to other end. But I want the integration of the 1D array over each zone (i.e.,between two adjacent data points). If you take a look at the vi, you will understand what I did. When you give file path of the attached excel sheet in the vi, you will see the difference in the MS (XY graph) at a distance from 200 to 300inches. At this location there should be a peak occuring in the SE graph. The final graph has to be same as the dotted line in the attached photo. Can you tell me if there is an other way to do the integration according to the underlined statements?

 

Thank you

Venu

0 Kudos
Message 1 of 7
(3,656 Views)

There is a correction in the previous post. I suggest you not to look at the attached vi of the previous post. Follow the steps in the vi attached to this post. The only thing I need is to integrate the sqaure of MS graph between two adjacent data points (say between (1inch, 2inch), (2inch, 3inch), and so on) to get the SE graph. I still couldn't figure that out. Can somebody tell me how to do it in Labview?

 

Thank you

Venu

0 Kudos
Message 2 of 7
(3,608 Views)

It's basic geometry. What's the area of a trapezoid?

 


@vgrchada wrote:

There is a correction in the previous post. I suggest you not to look at the attached vi of the previous post. Follow the steps in the vi attached to this post. The only thing I need is to integrate the sqaure of MS graph between two adjacent data points (say between (1inch, 2inch), (2inch, 3inch), and so on) to get the SE graph. I still couldn't figure that out. Can somebody tell me how to do it in Labview?

 

Thank you

Venu


Do you want the integral between two adjacent data points or the integral of the squares of those two points? For the latter, just square the heights before you integrate.

Or, are you not asking the question clearly? Your attached picture does not show anywhere in it two distinct adjacent data points, just a series of curves.

 

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 3 of 7
(3,591 Views)

hi,

 

please stick to your previous thread on the same topic:

 

https://forums.ni.com/t5/LabVIEW/Arrange-the-peak-magnitude-values-of-multiple-strain-gages/m-p/2589...

 

 

 

Regards,
Alex

0 Kudos
Message 4 of 7
(3,583 Views)

Cameron,

 

I know that it is a basic geometry and even a junior college student says that it is the area of trepezoid. That is not my question. I asked, is there a easy way to solve the integration of the square of the MS graph data between two adjacent data points, so that I can understand the difference by changing the adjacent data points of my own wish whenever I want. That was very clear in my previous posts. I never mentioned that the picture I attached is to show anywhere two distinct adjacent points. You have to clearly read the statements before you answer. If you don't know how to do it then don't reply to me.

 

Thank you

Venu

0 Kudos
Message 5 of 7
(3,576 Views)

Hi Alex,

 

Thanks for your reply. I will go through the vi and get back to you.

 

Thank you

Venu

0 Kudos
Message 6 of 7
(3,574 Views)

@vgrchada wrote:

Cameron,

 

I know that it is a basic geometry and even a junior college student says that it is the area of trepezoid. That is not my question. I asked, is there a easy way to solve the integration of the square of the MS graph data between two adjacent data points, so that I can understand the difference by changing the adjacent data points of my own wish whenever I want. That was very clear in my previous posts. I never mentioned that the picture I attached is to show anywhere two distinct adjacent points. You have to clearly read the statements before you answer. If you don't know how to do it then don't reply to me.

 

Thank you

Venu


There weren't any "previous posts", except in another thread that Alex pointed to just before your post above, so you were not clear anywhere, and, I might add, are still not clear.

 

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 7 of 7
(3,559 Views)